Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for not_exists (0.1 sec)

  1. tests/create_test.go

    	user2.Friends = nil
    
    	CheckUser(t, result2, user2)
    }
    
    func TestFirstOrCreateNotExistsTable(t *testing.T) {
    	company := Company{Name: "first_or_create_if_not_exists_table"}
    	if err := DB.Table("not_exists").FirstOrCreate(&company).Error; err == nil {
    		t.Errorf("not exists table, but err is nil")
    	}
    }
    
    func TestFirstOrCreateWithPrimaryKey(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
        }
    
        protected void closeQuietly(final Path dir) {
            if (Files.notExists(dir)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{} does not exists.", dir);
                }
                return;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. cmd/os-reliable.go

    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				// Determine if os.NotExist error is because of
    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top