- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,352 for createG (0.03 sec)
-
generics.go
} func (c createG[T]) Omit(columns ...string) CreateInterface[T] { return createG[T]{c.with(func(db *DB) *DB { return db.Omit(columns...) })} } func (c createG[T]) Set(assignments ...clause.Assigner) SetCreateOrUpdateInterface[T] { return c.processSet(assignments...) } func (c createG[T]) Create(ctx context.Context, r *T) error { return c.g.apply(ctx).Create(r).Error }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 25.9K bytes - Viewed (0) -
callbacks/create.go
if i, ok := value.(BeforeCreateInterface); ok { called = true db.AddError(i.BeforeCreate(tx)) } } return called }) } } // Create create hook func Create(config *Config) func(db *gorm.DB) { supportReturning := utils.Contains(config.CreateClauses, "RETURNING") return func(db *gorm.DB) { if db.Error != nil { return }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
} /** * Creates and returns an initial context. * * @return the initial context */ public static InitialContext create() { try { return new InitialContext(); } catch (final NamingException ex) { throw new NamingRuntimeException(ex); } } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java
return null; })).status(ApiResult.Status.OK).result()); } /** * Creates a new user setting. * * @param body the user data to create * @return JSON response containing the created user setting ID */ // POST /api/admin/user/setting @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java
/** * Initializes the form with default values for creation. * Sets the CRUD mode to CREATE and populates created by and created time fields * with current user and timestamp information. */ public void initialize() { crudMode = CrudMode.CREATE; createdBy = ComponentUtil.getSystemHelper().getUsername(); createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java
import jakarta.validation.constraints.Min; import jakarta.validation.constraints.Size; /** * The create form for Path Map. */ public class CreateForm { /** * Creates a new CreateForm instance. */ public CreateForm() { } /** * The CRUD operation mode (create, update, etc.). */ @ValidateTypeFailure public Integer crudMode; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java
return null; })).status(ApiResult.Status.OK).result()); } /** * Creates a new role setting. * * @param body the role data to create * @return JSON response containing the created role setting ID */ // POST /api/admin/role/setting @Execute public JsonResponse<ApiResult> post$setting(final CreateBody body) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
created = true; } return created; } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to create suggest index: index={}", index, e); } throw new SuggesterException("Failed to create suggest index: " + index, e); } } /**Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/app/web/admin/badword/CreateForm.java
import jakarta.validation.constraints.Size; /** * The create form for Bad Word. */ public class CreateForm { /** * Creates a new CreateForm instance. */ public CreateForm() { // Default constructor } /** * The CRUD mode for form processing (create, update, delete operations). */ @ValidateTypeFailure public Integer crudMode;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/CreateForm.java
@Min(value = 0) @Max(value = 2147483647) @ValidateTypeFailure public Integer sortOrder; /** * The user who created this label type. */ @Size(max = 1000) public String createdBy; /** * The timestamp when this label type was created. */ @ValidateTypeFailure public Long createdTime; /** * Initializes the form with default values. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3K bytes - Viewed (0)