- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for agef (0.6 sec)
-
finisher_api.go
}, tx.Error) tx.Logger = currentLogger return } // Pluck queries a single column from a model, returning in the slice dest. E.g.: // // var ages []int64 // db.Model(&users).Pluck("age", &ages) func (db *DB) Pluck(column string, dest interface{}) (tx *DB) { tx = db.getInstance() if tx.Statement.Model != nil { if tx.Statement.Parse(tx.Statement.Model) == nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
tests/submodel_test.go
Age int }{Age: 20}).Error; err != nil { t.Fatalf("unexpected error: %v", err) } var result = struct{ ID int Age int }{} if err := DB.Model(&man).Where("id = ?", man.ID).Find(&result).Error; err != nil { t.Fatalf("unexpected error: %v", err) } if result.ID != man.ID || result.Age != 20 { t.Fatalf("expected ID %d and Age 20, got ID %d and age", result.ID, result.Age) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 944 bytes - Viewed (0) -
docs/debugging/README.md
mc: File data successfully downloaded as inspect.6f96b336.zip $ xl-meta inspect.6f96b336.zip {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 8.6K bytes - Viewed (0) -
tests/generics_test.go
} } func TestGenericsSubQuery(t *testing.T) { ctx := context.Background() users := []User{ {Name: "GenericsSubquery_1", Age: 10}, {Name: "GenericsSubquery_2", Age: 20}, {Name: "GenericsSubquery_3", Age: 30}, {Name: "GenericsSubquery_4", Age: 40}, } if err := gorm.G[User](DB).CreateInBatches(ctx, &users, len(users)); err != nil { t.Fatalf("CreateInBatches failed: %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
} } // Test helper class private static class TestUser { public String name; public int age; public TestUser(String name, int age) { this.name = name; this.age = age; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
} @Test fun temporaryRedirectCachedWithExpiresHeader() { temporaryRedirectCachedWithCachingHeader(307, "Expires", formatDate(1, TimeUnit.HOURS)) } @Test fun temporaryRedirectCachedWithCacheControlHeader() { temporaryRedirectCachedWithCachingHeader(307, "Cache-Control", "max-age=60") } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
this.scope = scope; } /** * Gets the maximum age for cached data before requiring refresh * @return the maximum cache age in milliseconds */ public long getMaxAge() { return maxAge; } /** * Sets the maximum age for cached data * @param maxAge the maximum cache age in milliseconds */ public void setMaxAge(long maxAge) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
result.add(String.format("%s (%s, age: %d ms)", holder.resourceId, holder.resourceType, holder.getAge())); } } return Collections.unmodifiableSet(result); } /** * Configure resource manager * * @param maxAge maximum resource age in milliseconds * @param cleanupInterval cleanup interval in milliseconds
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
String sessionId = "age-test"; keyManager.storeSessionKey(sessionId, testKey, "AES"); long initialAge = keyManager.getKeyAge(sessionId); assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small"); Thread.sleep(200); long laterAge = keyManager.getKeyAge(sessionId); assertTrue(laterAge >= 200, "Age should increase after delay"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
schema/schema_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 28 02:57:17 UTC 2025 - 13.3K bytes - Viewed (0)