Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 253 for preload (0.06 sec)

  1. tests/joins_test.go

    		DB.Create(user)
    		userIDs = append(userIDs, user.ID)
    	}
    
    	var entries []User
    	assert.NotPanics(t, func() {
    		assert.NoError(t,
    			DB.Preload("Manager.Team").
    				Joins("Manager.Company").
    				Find(&entries).Error)
    	})
    }
    
    func TestJoinsPreload_Issue7013_RelationEmpty(t *testing.T) {
    	type (
    		Furniture struct {
    			gorm.Model
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. generics.go

    func (c chainG[T]) Order(value interface{}) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Order(value)
    	})
    }
    
    func (c chainG[T]) Preload(association string, query func(db PreloadBuilder) error) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Preload(association, func(tx *DB) *DB {
    			q := preloadBuilder{db: tx.getInstance()}
    			if query != nil {
    				if err := query(&q); err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. tests/hooks_test.go

    		t.Errorf("should find product, but got error %v", err)
    	}
    
    	var productWithItem Product4
    	if err := DB.Session(&gorm.Session{SkipHooks: true}).Preload("Item").First(&productWithItem, "name = ?", product.Name).Error; err != nil {
    		t.Errorf("should find product, but got error %v", err)
    	}
    
    	if productWithItem.Item.AfterFindCallTimes != 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          MockResponse
            .Builder()
            .addInformationalResponse(
              MockResponse(
                code = HTTP_EARLY_HINTS,
                headers = headersOf("Link", "</style.css>; rel=preload; as=style"),
              ),
            ).build(),
        )
        val request =
          Request(
            url = server.url("/"),
            body = "abc".toRequestBody("text/plain".toMediaType()),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            try (MappingUpdater updater = new MappingUpdater(item)) {
                reload(updater);
            }
        }
    
        /**
         * Reloads the character mapping items from the dictionary file.
         *
         * @param updater the mapping updater to use for writing changes, or null for read-only reload
         */
        protected void reload(final MappingUpdater updater) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                reload(updater);
            }
        }
    
        /**
         * Reloads the dictionary file with the specified updater.
         * @param updater the updater to use for processing items
         */
        protected void reload(final ProtwordsUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                reload(updater);
            }
        }
    
        /**
         * Reloads the stopwords dictionary from its source file.
         *
         * @param updater An optional updater to apply changes during reload.
         * @throws DictionaryException if the dictionary file cannot be read.
         */
        protected void reload(final StopwordsUpdater updater) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                reload(updater);
            }
        }
    
        /**
         * Reloads the stemmer override dictionary from its source file.
         *
         * @param updater An optional updater to apply changes during reload.
         * @throws DictionaryException if the dictionary file cannot be read.
         */
        protected void reload(final StemmerOverrideUpdater updater) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                reload(updater);
            }
        }
    
        /**
         * Reloads the dictionary file.
         *
         * @param updater The updater.
         */
        protected void reload(final KuromojiUpdater updater) {
            try (CurlResponse curlResponse = dictionaryManager.getContentResponse(this)) {
                reload(updater, curlResponse.getContentAsStream());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                reload(updater);
            }
        }
    
        /**
         * Reloads the synonym dictionary from its source file.
         *
         * @param updater An optional updater to apply changes during reload.
         * @throws DictionaryException if the dictionary file cannot be read.
         */
        protected void reload(final SynonymUpdater updater) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top