- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 3,258 for Save (0.16 sec)
-
cmd/background-newdisks-heal-ops.go
h.ID, _ = h.disk.GetDiskID() h.PoolIndex, h.SetIndex, h.DiskIndex = h.disk.GetDiskLoc() } h.mu.Unlock() return h.save(ctx) } // save will unconditionally save the tracker and will be created if not existing. func (h *healingTracker) save(ctx context.Context) error { h.mu.Lock() if h.PoolIndex < 0 || h.SetIndex < 0 || h.DiskIndex < 0 { // Attempt to get location.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.7K bytes - Viewed (0) -
tests/connpool_test.go
user := *GetUser("transaction", Config{}) if err = tx.Save(&user).Error; err != nil { t.Fatalf("No error should raise, but got %v", err) } if err = tx.First(&User{}, "name = ?", "transaction").Error; err != nil { t.Fatalf("Should find saved record, but got %v", err) } user1 := *GetUser("transaction1-1", Config{}) if err = tx.Save(&user1).Error; err != nil {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Feb 06 02:54:40 GMT 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
* than relying on the one from the system property. * * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the * system property. */ String save = System.getProperty("user.name"); System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?"); try { TempFileCreator.testMakingUserPermissionsFromScratch();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
docs/sts/keycloak.md
- Settings - Change `Access Type` to `confidential`. - Save - Click on credentials tab - Copy the `Secret` to clipboard. - This value is needed for `MINIO_IDENTITY_OPENID_CLIENT_SECRET` for MinIO. - Go to Users - Click on the user - Attribute, add a new attribute `Key` is `policy`, `Value` is name of the `policy` on MinIO (ex: `readwrite`) - Add and Save - Go to Clients - Click on `account`
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Sep 29 04:28:45 GMT 2022 - 8.1K bytes - Viewed (0) -
README.md
## Overview * Full-Featured ORM * Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism, Single-table inheritance) * Hooks (Before/After Create/Save/Update/Delete/Find) * Eager loading with `Preload`, `Joins` * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point * Context, Prepared Statement Mode, DryRun Mode * Batch Insert, FindInBatches, Find To Map
Plain Text - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Nov 07 02:20:06 GMT 2023 - 1.8K bytes - Viewed (0) -
tests/gorm_test.go
t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected) } else if got.ID != u1.ID { t.Fatalf("select expects: %v, got %v", u1, got) } u1.Name = "jinzhu" if results := DB.Save(&u1); results.Error != nil { t.Fatalf("errors happened on update: %v", results.Error) } else if results.RowsAffected != 1 { t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Jun 01 07:22:21 GMT 2023 - 3.3K bytes - Viewed (0) -
tests/count_test.go
user2 = *GetUser("count-2", Config{}) user3 = *GetUser("count-3", Config{}) users []User count, count1, count2 int64 ) DB.Save(&user1).Save(&user2).Save(&user3) if err := DB.Where("name = ?", user1.Name).Or("name = ?", user3.Name).Find(&users).Count(&count).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 6.9K bytes - Viewed (0) -
cmd/erasure-server-pool-decom.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 15:18:21 GMT 2024 - 41.5K bytes - Viewed (1) -
tests/joins_test.go
}) for idx, user := range users { CheckUser(t, user, users2[idx]) } } func TestJoinConds(t *testing.T) { user := *GetUser("joins-conds", Config{Account: true, Pets: 3}) DB.Save(&user) var users1 []User DB.Joins("inner join pets on pets.user_id = users.id").Where("users.name = ?", user.Name).Find(&users1) if len(users1) != 3 {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Apr 26 14:19:32 GMT 2023 - 13.5K bytes - Viewed (1) -
cmd/bucket-metadata.go
b.VersioningConfigUpdatedAt = b.Created } if b.LifecycleConfigUpdatedAt.IsZero() { b.LifecycleConfigUpdatedAt = b.Created } } // Save config to supplied ObjectLayer api. func (b *BucketMetadata) Save(ctx context.Context, api ObjectLayer) error { if err := b.parseAllConfigs(ctx, api); err != nil { return err } data := make([]byte, 4, b.Msgsize()+4)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 16.5K bytes - Viewed (0)