- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 256 for statements (1.47 sec)
-
interfaces.go
type Dialector interface { Name() string Initialize(*DB) error Migrator(db *DB) Migrator DataTypeOf(*schema.Field) string DefaultValueOf(*schema.Field) clause.Expression BindVarTo(writer clause.Writer, stmt *Statement, v interface{}) QuoteTo(clause.Writer, string) Explain(sql string, vars ...interface{}) string } // Plugin GORM plugin interface type Plugin interface { Name() string Initialize(*DB) error }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Aug 19 13:33:31 UTC 2023 - 2.2K bytes - Viewed (0) -
tests/scopes_test.go
} db := DB.Scopes(func(tx *gorm.DB) *gorm.DB { return tx.Table("custom_table") }).Session(&gorm.Session{}) db.AutoMigrate(&User{}) if db.Find(&User{}).Statement.Table != "custom_table" { t.Errorf("failed to call Scopes") } result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB { return tx.Session(&gorm.Session{}) }).Find(&users1)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */ @CanIgnoreReturnValue static Error sneakyThrow(Throwable t) { throw new SneakyThrows<Error>().throwIt(t); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
migrator.go
import ( "reflect" "gorm.io/gorm/clause" "gorm.io/gorm/schema" ) // Migrator returns migrator func (db *DB) Migrator() Migrator { tx := db.getInstance() // apply scopes to migrator for len(tx.Statement.scopes) > 0 { tx = tx.executeScopes() } return tx.Dialector.Migrator(tx.Session(&Session{})) } // AutoMigrate run auto migration for given models func (db *DB) AutoMigrate(dst ...interface{}) error {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * Verifies SCM inheritance uses modules statement from parent. */ @Deprecated class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase { // ---------------------------------------------------------------------- // // p1 inherits from p0Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 3K bytes - Viewed (0) -
architecture/standards/0008-use-nullaway.md
Do not suppress NullAway errors without a justification. Prefer rearranging the code to avoid the error, unless there is a provable performance penalty or a significant loss of code readability. Use `Objects.requireNonNull` statement or `Preconditions` rather than `assert` or `@SuppressWarning` annotation to suppress if possible. For gradual adoption, enable checks project-by-project. Do not rely on `@NullMarked` annotations.
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 11 10:24:40 UTC 2025 - 4K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml
<module name="SuppressWarningsFilter"/> <module name="TreeWalker"> <!-- Blocks --> <module name="EmptyBlock"> <property name="option" value="statement"/> <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,INSTANCE_INIT,STATIC_INIT"/> </module> <module name="EmptyBlock">
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 11 10:24:25 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java
try { return ps.executeUpdate(); } catch (final SQLException ex) { throw new SQLRuntimeException(ex); } } /** * Executes the statement. * * @param ps * {@link PreparedStatement}. Must not be {@literal null}. * @return Whether the result is a {@link ResultSet}. * @throws SQLRuntimeExceptionRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 28 12:11:25 UTC 2025 - 3.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.6.md
* Add ready replicas in Deployments ([#37959](https://github.com/kubernetes/kubernetes/pull/37959), [@kargakis](https://github.com/kargakis)) * Remove all MAINTAINER statements in Dockerfiles in the codebase as they are deprecated by docker ([#38927](https://github.com/kubernetes/kubernetes/pull/38927), [@luxas](https://github.com/luxas))
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 304K bytes - Viewed (0)