- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for agef (0.04 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) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* Configures the cookie with security settings including domain, path, secure flag, and HTTP-only flag. * * @param userCode the user code to store in the cookie * @param age the maximum age of the cookie in seconds */ protected void updateCookie(final String userCode, final int age) { final Cookie cookie = new Cookie(cookieName, userCode);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K 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) -
tests/upsert_test.go
} DB.Where(&User{Name: "find or init"}).Assign("age", 44).FirstOrInit(&user4) if user4.Name != "find or init" || user4.ID != 0 || user4.Age != 44 { t.Errorf("user should be initialized with search value and assign attrs") } DB.Save(&User{Name: "find or init", Age: 33}) DB.Where(&User{Name: "find or init"}).Attrs("age", 44).FirstOrInit(&user5)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K 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)