Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 256 for Statements (0.08 sec)

  1. README.md

    * Hooks (Before/After Create/Save/Update/Delete/Find)
    * Eager loading with `Preload`, `Joins`
    * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
    * Context, Prepared Statement Mode, DryRun Mode
    * Batch Insert, FindInBatches, Find To Map
    * SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
    * Composite Primary Key
    * Auto Migrations
    * Logger
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 09:30:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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 p0
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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 SQLRuntimeException
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java

                    // start building an argument here.
                    currentArg = new StringBuilder(arg.substring(1));
                    addedToBuffer = true;
                }
    
                // this has to be a separate "if" statement, to capture the case of: "-Dfoo=bar"
                if (addedToBuffer && arg.endsWith("\"")) {
                    // if we're building an argument, keep doing so.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 12:11:25 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top