- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 128 for Unscope (0.06 sec)
-
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) -
dbflute_fess/dfprop/conditionBeanMap.dfprop
# # and LessThan at PRODUCT.PRODUCT_NAME and PRODUCT.PRODUCT_HANDLE_CODE, # # and InScope for LONGVARCHAR(e.g. text type) is excluded. # ; String = map:{ # ; GreaterThan = map:{ MEMBER = list:{ MEMBER_ACCOUNT } } # ; LessThan = map:{ PRODUCT = list:{ PRODUCT_NAME ; PRODUCT_HANDLE_CODE } } # ; !InScope = map:{ $$ALL$$ = list:{ type:LONGVARCHAR } } # }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 31 23:35:14 UTC 2015 - 4K bytes - Viewed (0) -
tests/joins_table_test.go
t.Fatalf("Should found soft deleted addresses with unscoped") } DB.Model(&person).Association("Addresses").Clear() if DB.Model(&person).Association("Addresses").Count() != 0 { t.Fatalf("Should deleted all addresses") } if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 { t.Fatalf("Should found soft deleted addresses with unscoped") } DB.Unscoped().Model(&person).Association("Addresses").Clear()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 10 13:46:18 UTC 2020 - 3.5K bytes - Viewed (1) -
tests/soft_delete_test.go
t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age) } if err := DB.Unscoped().First(&User{}, "name = ?", user.Name).Error; err != nil { t.Errorf("Should find soft deleted record with Unscoped, but got err %s", err) } count = 0 if DB.Unscoped().Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 5.7K 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) -
soft_delete.go
} func (sd SoftDeleteQueryClause) MergeClause(*clause.Clause) { } func (sd SoftDeleteQueryClause) ModifyStatement(stmt *Statement) { if _, ok := stmt.Clauses["soft_delete_enabled"]; !ok && !stmt.Statement.Unscoped { if c, ok := stmt.Clauses["WHERE"]; ok { if where, ok := c.Expression.(clause.Where); ok && len(where.Exprs) >= 1 { for _, expr := range where.Exprs {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 4.5K bytes - Viewed (1) -
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)