- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for age (0.04 sec)
-
tests/query_test.go
if res.Name != "" { t.Errorf("Expected res.Name to be empty, but got %s", res.Name) } if res.Age != user.Age { t.Errorf("Expected res.Age to be %d, but got %d", user.Age, res.Age) } } func TestPluckWithSelect(t *testing.T) { users := []User{ {Name: "pluck_with_select_1", Age: 25}, {Name: "pluck_with_select_2", Age: 26}, } DB.Create(&users) var userAges []int
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 50.4K bytes - Viewed (0) -
tests/migrate_test.go
columnType.Name(), length, 100, columnType) } case "age": if v, ok := columnType.DefaultValue(); !ok || v != "18" { t.Fatalf("column age default value should be correct, name: %v, column: %#v", columnType.Name(), columnType) } if v, ok := columnType.Comment(); !ok || v != "my age" { t.Fatalf("column age comment should be correct, name: %v, column: %#v", columnType.Name(), columnType)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
.cache(cache) .build() server.enqueue( MockResponse( headers = headersOf("cache-control", "max-age=60"), body = "ABCD", ), ) server.enqueue( MockResponse( headers = headersOf("cache-control", "max-age=60"), body = "EFGH", ), ) val call1 = client.newCall(Request(server.url("/"))) val response1 = call1.execute()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2)