- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,329 for whence (0.67 sec)
-
tests/query_test.go
var result User if DB.Where("").Where("").First(&result).Error != nil { t.Errorf("Should not raise any error if searching with empty strings") } result = User{} if DB.Where(&User{}).Where("name = ?", user.Name).First(&result).Error != nil { t.Errorf("Should not raise any error if searching with empty struct") } result = User{}Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Jul 22 06:21:04 UTC 2025 - 51K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
```Python q: str | None = Query(default=None, max_length=50) ``` This will validate the data, show a clear error when the data is not valid, and document the parameter in the OpenAPI schema *path operation*. ### `Query` as the default value or in `Annotated` { #query-as-the-default-value-or-in-annotated } Keep in mind that when using `Query` inside of `Annotated` you cannot use the `default` parameter for `Query`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 16.7K bytes - Viewed (0) -
tests/upsert_test.go
var user1, user2, user3, user4, user5, user6 User if err := DB.Where(&User{Name: "find or init", Age: 33}).FirstOrInit(&user1).Error; err != nil { t.Errorf("no error should happen when FirstOrInit, but got %v", err) } if user1.Name != "find or init" || user1.ID != 0 || user1.Age != 33 { t.Errorf("user should be initialized with search value") } DB.Where(User{Name: "find or init", Age: 33}).FirstOrInit(&user2)Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* </p> * <p> * This behavior maintains the Maven 3.x semantic where resource {@code targetPath} elements * are resolved relative to the appropriate output directory ({@code project.build.outputDirectory} * or {@code project.build.testOutputDirectory}), <strong>not</strong> the project base directory. * </p> * <p> * In Maven 3, when a resource configuration specifies: * </p> * <pre>{@codeRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
// Do blocking calls to plan a route for a new connection. val connect = planConnect() // Now that we have a set of IP addresses, make another attempt at getting a connection from // the pool. We have a better chance of matching thanks to connection coalescing. val pooled2 = planReusePooledConnection(connect, connect.routes) if (pooled2 != null) return pooled2 return connect } /**Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 12K bytes - Viewed (0) -
tests/create_test.go
} var newUser User if err := DB.Where("id = ?", u1.ID).First(&newUser).Error; err != nil { t.Fatalf("errors happened when query: %v", err) } else { CheckUser(t, newUser, u1) } type user struct { ID int `gorm:"primaryKey;->:false"` Name string Age int } var u2 user if results := DB.Create(&u2); results.Error != nil { t.Fatalf("errors happened when create: %v", results.Error)Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
internal/kms/config.go
// MINIO_KMS_SECRET_KEY_FILE - either to the argument passed to // the container or to a default string (e.g. "minio_master_key"). // // We have to distinguish a explicit config from an implicit. Hence, // we unset the env. vars if they are set but empty or contain a path // which does not exist. The downside of this check is that if // MINIO_KMS_SECRET_KEY_FILE is set to a path that does not exist,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
``` * Fix: Don't miss cancels when sending HTTP/2 request headers. * Fix: Don't miss whole operation timeouts when calls redirect. * Fix: Don't leak connections if web sockets have malformed responses or if `onOpen()` throws. * Fix: Don't retry when request bodies fail due to `FileNotFoundException`. * Fix: Don't crash when URLs have IPv4-mapped IPv6 addresses. * Fix: Don't crash when building `HandshakeCertificates` on Android API 28.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
jApiType.annotations >> annotations when: annotations.clear() then: rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @Incubating' when: annotations.add(incubatingAnnotation) then: rule.maybeViolation(jApiType) == null where: apiElement | jApiTypeName
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 06 17:52:09 UTC 2025 - 16K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
* This doesn't refer to the file, nor to the code, it refers **specifically** to the thing that is being **executed** and managed by the operating system. * Any program, any code, **can only do things** when it is being **executed**. So, when there's a **process running**. * The process can be **terminated** (or "killed") by you, or by the operating system. At that point, it stops running/being executed, and it can **no longer do things**.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 18.6K bytes - Viewed (1)