- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 for Unscope (0.07 sec)
-
association.go
} } else { association.Error = err } return association } func (association *Association) Unscoped() *Association { return &Association{ DB: association.DB, Relationship: association.Relationship, Error: association.Error, Unscope: true, } } func (association *Association) Find(out interface{}, conds ...interface{}) error { if association.Error == nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java
import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Meta-annotation that marks other annotations as scope annotations. * <p> * Scopes define the lifecycle and visibility of objects in the dependency injection * system. Custom scope annotations should be annotated with {@code @Scope}. * <p> * Built-in scopes include: * <ul> * <li>{@link Singleton} - One instance per container</li>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 1.7K bytes - Viewed (0) -
chainable_api.go
return } // Unscoped disables the global scope of soft deletion in a query. // By default, GORM uses soft deletion, marking records as "deleted" // by setting a timestamp on a specific field (e.g., `deleted_at`). // Unscoped allows queries to include records marked as deleted, // overriding the soft deletion behavior. // Example: // // var users []User // db.Unscoped().Find(&users)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 14.8K bytes - Viewed (0) -
tests/helper_test.go
} func isMysql() bool { return os.Getenv("GORM_DIALECT") == "mysql" } func isSqlite() bool { return os.Getenv("GORM_DIALECT") == "sqlite" } func db(unscoped bool) *gorm.DB { if unscoped { return DB.Unscoped() } else { return DB }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
* @param scope the NetBIOS scope identifier */ public Name(final Configuration cfg, String name, final int hexCode, final String scope) { this.config = cfg; if (name.length() > 15) { name = name.substring(0, 15); } this.name = name.toUpperCase(); this.hexCode = hexCode;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
tests/delete_test.go
if err := DB.Table("deleted_users").Unscoped().First(&result3, user.ID).Error; err != nil { t.Fatalf("failed to find record, got error %v", err) } if err := DB.Table("deleted_users").Unscoped().Delete(&result).Error; err != nil { t.Errorf("failed to delete user with unscoped, got error %v", err) } var result4 UserWithDelete
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 9.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 19 14:33:26 UTC 2025 - 4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Node.java
* <li>Version management information (if the version was managed from a different version)</li> * <li>Scope management information (if the scope was managed from a different scope)</li> * <li>Scope updates (if the scope was changed during resolution)</li> * <li>Conflict resolution information (if the dependency was omitted due to conflicts or duplicates)</li> * </ul> *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Mar 24 14:10:11 UTC 2025 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
artifact = getArtifact(project, "maven-test-test", "scope-default"); assertEquals("test", artifact.getScope(), "Check scope"); artifact = getArtifact(project, "maven-test-test", "scope-runtime"); assertEquals("test", artifact.getScope(), "Check scope"); // check all transitive deps of a provided dependency are provided scope, except for test
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
String scope = "testScope"; when(nameServiceClient.getNbtByName(host, type, scope)).thenThrow(new UnknownHostException("Host not found")); // Act & Assert assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtByName(host, type, scope)); verify(nameServiceClient, times(1)).getNbtByName(host, type, scope); } @Test void testGetNbtByName_String() throws UnknownHostException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0)