- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,332 for delegate (0.1 sec)
-
tests/associations_belongs_to_test.go
// Delete if err := DB.Model(&user2).Association("Company").Delete(&Company{}); err != nil { t.Fatalf("Error happened when delete Company, got %v", err) } AssertAssociationCount(t, user2, "Company", 1, "after delete non-existing data") if err := DB.Model(&user2).Association("Company").Delete(&company2); err != nil { t.Fatalf("Error happened when delete Company, got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
cmd/object-handlers-common.go
} // setPutObjHeaders sets all the necessary headers returned back // upon a success Put/Copy/CompleteMultipart/Delete requests // to activate delete only headers set delete as true func setPutObjHeaders(w http.ResponseWriter, objInfo ObjectInfo, delete bool, h http.Header) { // We must not use the http.Header().Set method here because some (broken)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
tests/delete_test.go
return } users := []*User{ GetUser("delete-returning-1", Config{}), GetUser("delete-returning-2", Config{}), GetUser("delete-returning-3", Config{}), } DB.Create(&users) var results []User DB.Where("name IN ?", []string{users[0].Name, users[1].Name}).Clauses(clause.Returning{}).Delete(&results) if len(results) != 2 { t.Errorf("failed to return delete data, got %v", results) } var count int64
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0) -
tests/associations_test.go
var err error // belongs to err = DB.Model(&emptyUser).Association("Company").Delete(&user1.Company) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has many err = DB.Model(&emptyUser).Association("Pets").Delete(&user1.Pets) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has one err = DB.Model(&emptyUser).Association("Account").Delete(&user1.Account) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // many to many
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java
* the License. */ package com.google.common.collect; import java.util.Collection; import org.checkerframework.checker.nullness.qual.Nullable; /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */ @ElementTypesAreNonnullByDefault class RegularImmutableMultiset<E> extends ImmutableMultiset<E> { static final ImmutableMultiset<Object> EMPTY =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockDetailRenderer.java
section.appendChild(segmentedlist); Element segtitle = document.createElement("segtitle"); segmentedlist.appendChild(segtitle); segtitle.appendChild(document.createTextNode("Delegates to")); Element seglistitem = document.createElement("seglistitem"); segmentedlist.appendChild(seglistitem); Element seg = document.createElement("seg"); seglistitem.appendChild(seg);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
} arraySettings.add(BAD_WORD_SETTINGD_KEY, badWord); } public void delete(final String badWord) { if (logger.isDebugEnabled()) { logger.debug("Delete badword. {} badword: {}", arraySettings.arraySettingsIndexName, badWord); } arraySettings.delete(BAD_WORD_SETTINGD_KEY, badWord); } public void deleteAll() { if (logger.isDebugEnabled()) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.3K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 40.8K bytes - Viewed (0) -
cmd/local-locker.go
continue } // Collect uids, so we don't mutate while we delete uids := make([]string, 0, len(lris)) for _, lri := range lris { uids = append(uids, lri.UID) } // Delete collected uids: for _, uid := range uids { lris, ok := l.lockMap[resource] if !ok { // Just to be safe, delete uuids. for idx := 0; idx < maxDeleteList; idx++ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.7K bytes - Viewed (0) -
tests/associations_has_many_test.go
// Delete if err := DB.Model(&user2).Association("Pets").Delete(&Pet{}); err != nil { t.Fatalf("Error happened when delete pet, got %v", err) } AssertAssociationCount(t, user2, "Pets", 1, "after delete non-existing data") if err := DB.Model(&user2).Association("Pets").Delete(&pet2); err != nil { t.Fatalf("Error happened when delete Pets, got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0)