- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 215 for upsert (0.05 sec)
-
tests/generics_test.go
} if u2, err := reusedb.Where("id = ?", users[1].ID).First(ctx); err != nil { t.Errorf("failed to find user, got error: %v", err) } else if u2.Name != users[1].Name || u2.ID != users[1].ID { t.Errorf("found invalid user, got %v, expect %v", u2, users[1]) } if users, err := reusedb.Where("id IN ?", []uint{users[0].ID, users[1].ID}).Find(ctx); err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
docs/bucket/notifications/README.md
### Step 1: Ensure postgresql minimum requirements are met MinIO requires PostgreSQL version 9.5 or above. MinIO uses the [`INSERT ON CONFLICT`](https://www.postgresql.org/docs/9.5/static/sql-insert.html#SQL-ON-CONFLICT) (aka UPSERT) feature, introduced in version 9.5 and the [JSONB](https://www.postgresql.org/docs/9.4/static/datatype-json.html) data-type introduced in version 9.4.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 84.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
User user3 = createTestUser("user3"); TestAuthenticationChain chain1 = new TestAuthenticationChain(); TestAuthenticationChain chain2 = new TestAuthenticationChain(); TestAuthenticationChain chain3 = new TestAuthenticationChain(); chain1.loadResult = user1; chain2.loadResult = user2; chain3.loadResult = user3;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
numInsertions, 0.03, BloomFilterStrategies.MURMUR128_MITZ_32); // Insert "numInsertions" even numbers into the BF. for (int i = 0; i < numInsertions * 2; i += 2) { bf.put(Integer.toString(i)); } assertApproximateElementCountGuess(bf, numInsertions); // Assert that the BF "might" have all of the even numbers. for (int i = 0; i < numInsertions * 2; i += 2) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
cmd/admin-handlers-users.go
return } for user := range users { checkedUserList = append(checkedUserList, user) } checkedUserList = append(checkedUserList, globalActiveCred.AccessKey) } else { for _, user := range users { // Validate the user _, ok := globalIAMSys.GetUser(ctx, user) if !ok { continue } checkedUserList = append(checkedUserList, user) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) response, err = s.client.Do(request) c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) deleteResp = DeleteObjectsResponse{} delRespBytes, err = io.ReadAll(response.Body) c.Assert(err, nil) err = xml.Unmarshal(delRespBytes, &deleteResp) c.Assert(err, nil) c.Assert(len(deleteResp.DeletedObjects), len(delObjReq.Objects))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
numInsertions, 0.03, BloomFilterStrategies.MURMUR128_MITZ_32); // Insert "numInsertions" even numbers into the BF. for (int i = 0; i < numInsertions * 2; i += 2) { bf.put(Integer.toString(i)); } assertApproximateElementCountGuess(bf, numInsertions); // Assert that the BF "might" have all of the even numbers. for (int i = 0; i < numInsertions * 2; i += 2) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Make attempts from same IP with different users for (int i = 1; i <= 5; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, ip), "Attempt " + i + " should be allowed"); rateLimiter.recordFailure("user" + i, ip); } // 6th attempt from same IP should be blocked assertFalse(rateLimiter.checkAttempt("user6", ip), "Should block after IP rate limit"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
// Act: choose len so upper/lower 16-bit parts are exercised byte[] buf = new byte[0x30000]; try { in.readDirect(buf, 0, 0x12345); fail("Expected IOException due to short-circuit"); } catch (IOException expected) { // expected } // Assert captured request parameters
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
accessKey, secretKey := mustGenerateCredentials(c) err = s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) } userReq := madmin.PolicyAssociationReq{ Policies: []string{policy}, User: accessKey, } if _, err := s.adm.AttachPolicy(ctx, userReq); err != nil { c.Fatalf("Unable to attach policy: %v", err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4K bytes - Viewed (0)