Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 83 for MySQL (0.02 seconds)

  1. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

     * which implementation should be injected when multiple candidates exist.
     * The value represents a unique identifier for the dependency.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Inject
     * {@literal @}Named("mysql")
     * private Repository mysqlRepository;
     * </pre>
     *
     * @see Inject
     * @see Qualifier
     * @since 4.0.0
     */
    @Qualifier
    @Retention(RUNTIME)
    @Documented
    public @interface Named {
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. tests/group_by_test.go

    	}
    
    	if name != "groupby" || active != true || total != 40 {
    		t.Errorf("group by two columns, name %v, age %v, active: %v", name, total, active)
    	}
    
    	if DB.Dialector.Name() == "mysql" {
    		if err := DB.Model(&User{}).Select("name, age as total").Where("name LIKE ?", "groupby%").Having("total > ?", 300).Scan(&result).Error; err != nil {
    			t.Errorf("no error should happen, but got %v", err)
    		}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 3.3K bytes
    - Click Count (0)
  3. tests/generics_test.go

    	}).Where("name in ?", names).Find(ctx)
    	if err == nil {
    		t.Fatalf("Preload should failed, but got nil")
    	}
    
    	if DB.Dialector.Name() == "mysql" {
    		// mysql 5.7 doesn't support row_number()
    		if strings.HasPrefix(DB.Dialector.(*mysql.Dialector).ServerVersion, "5.7") {
    			return
    		}
    	}
    	results, err = db.Preload("Pets", func(db gorm.PreloadBuilder) error {
    		db.LimitPerRecord(5)
    		return nil
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  4. dbflute_fess/dfprop/documentMap.dfprop

        #  Elements of this map are as below:
        #   o url: The URL for connecting database. (NotRequired - Default same as databaseInfoMap)
        #   o schema: The schema name. (NotRequired - Default '' e.g. no setting when MySQL)
        #   o user: The database user name. (Required)
        #   o password: The database password. (NotRequired - Default '')
        #
        #; schemaSyncCheckMap = map:{
        #    ; url = jdbc:...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.4K bytes
    - Click Count (0)
  5. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        # o cursorSelectFetchSize: (NotRequired - Default null)
        #  The fetch size of JDBC parameter for cursor select.
        #  For example, specify Integer.MIN_VALUE to enable fetch of MySQL.
        #
        #; cursorSelectFetchSize = Integer.MIN_VALUE
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jul 25 06:04:16 GMT 2015
    - 8.8K bytes
    - Click Count (0)
  6. dbflute_fess/dfprop/basicInfoMap.dfprop

        # o database: (Required)
        #  This is the target database, only considered when generating
        #  the SQL for your DBFlute project.
        #  Your possible choices are:
        #
        #    mysql, postgresql, oracle, db2, sqlserver,
        #    h2, derby, (sqlite, firebird, msaccess)
        #
        ; database = h2
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 9.2K bytes
    - Click Count (0)
  7. tests/sql_builder_test.go

    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    	if age != 10 {
    		t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age)
    	}
    
    	table := "gorm.users"
    	if DB.Dialector.Name() != "mysql" || isTiDB() {
    		table = "users" // other databases doesn't support select with `database.table`
    	}
    
    	DB.Table(table).Where(map[string]interface{}{"name": user2.Name}).Update("age", 20)
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  8. tests/helper_test.go

    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    
    func mysqlVersionAtLeast(major, minor int) bool {
    	if !isMysql() {
    		return false
    	}
    
    	var version string
    	if err := DB.Raw("SELECT VERSION()").Row().Scan(&version); err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  9. tests/scanner_valuer_test.go

    	nullTime := sql.NullTime{}
    	err := nullTime.Scan(v)
    	t.Time = nullTime.Time
    	return err
    }
    
    func (t EmptyTime) Value() (driver.Value, error) {
    	return time.Now() /* pass tests, mysql 8 doesn't support 0000-00-00 by default */, nil
    }
    
    type NullString struct {
    	sql.NullString
    }
    
    type Point struct {
    	X, Y int
    }
    
    func (point Point) GormDataType() string {
    	return "geo"
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Click Count (0)
  10. go.mod

    	github.com/fatih/color v1.18.0
    	github.com/felixge/fgprof v0.9.5
    	github.com/fraugster/parquet-go v0.12.0
    	github.com/go-ldap/ldap/v3 v3.4.11
    	github.com/go-openapi/loads v0.22.0
    	github.com/go-sql-driver/mysql v1.9.2
    	github.com/gobwas/ws v1.4.0
    	github.com/golang-jwt/jwt/v4 v4.5.2
    	github.com/gomodule/redigo v1.9.2
    	github.com/google/uuid v1.6.0
    	github.com/inconshreveable/mousetrap v1.1.0
    	github.com/json-iterator/go v1.1.12
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 12.2K bytes
    - Click Count (0)
Back to Top