- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 626 for update (0.03 sec)
-
tests/update_has_many_test.go
) func TestUpdateHasManyAssociations(t *testing.T) { user := *GetUser("update-has-many", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 2K bytes - Viewed (0) -
cmd/metacache-bucket.go
} } // updateCacheEntry will update a cache. // Returns the updated status. func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) { b.mu.Lock() defer b.mu.Unlock() existing, ok := b.caches[update.id] if !ok { return update, errFileNotFound } existing.update(update) b.caches[update.id] = existing b.updated = true return existing, nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.6K bytes - Viewed (0) -
cmd/metacache-manager.go
m.mu.Unlock() } }() } // updateCacheEntry will update non-transient state. func (m *metacacheManager) updateCacheEntry(update metacache) (metacache, error) { m.mu.RLock() if meta, ok := m.trash[update.id]; ok { m.mu.RUnlock() return meta, nil } b, ok := m.buckets[update.bucket] m.mu.RUnlock() if ok { return b.updateCacheEntry(update) } // We should have either a trashed bucket or this
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
docs/es/docs/tutorial/body-updates.md
{* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *} ### Uso del parámetro `update` de Pydantic Ahora, puedes crear una copia del modelo existente usando `.model_copy()`, y pasar el parámetro `update` con un `dict` que contenga los datos a actualizar. /// info | InformaciónRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.9K bytes - Viewed (0) -
docs/de/docs/tutorial/body-updates.md
{* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *} ### Pydantics `update`-Parameter verwenden Jetzt können Sie eine Kopie des existierenden Modells mittels `.model_copy()` erstellen, wobei Sie dem `update`-Parameter ein `dict` mit den zu ändernden Daten übergeben. /// infoRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 18.9K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
* `name` * `age` * `secret_name` {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[7:22] hl[21:22] *} #### `HeroUpdate` - the *data model* to update a hero { #heroupdate-the-data-model-to-update-a-hero } We didn't have a way to **update a hero** in the previous version of the app, but now with **multiple models**, we can do it. 🎉Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 15.4K bytes - Viewed (0) -
clause/update_test.go
Result string Vars []interface{} }{ { []clause.Interface{clause.Update{}}, "UPDATE `users`", nil, }, { []clause.Interface{clause.Update{Modifier: "LOW_PRIORITY"}}, "UPDATE LOW_PRIORITY `users`", nil, }, { []clause.Interface{clause.Update{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}}, "UPDATE LOW_PRIORITY `products`", nil, }, } for idx, result := range results {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jun 02 01:18:01 UTC 2020 - 722 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java
*/ void store(RESULT accessResult); /** * Updates the given access result. * * @param accessResult the access result to update */ void update(RESULT accessResult); /** * Updates the given list of access results. * * @param accessResult the list of access results to update */ void update(List<RESULT> accessResult); /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0)