- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 64 for mysql (0.05 seconds)
-
tests/multi_primary_keys_test.go
t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment") } if name := DB.Dialector.Name(); name == "postgres" || name == "mysql" || name == "gaussdb" { stmt := gorm.Statement{DB: DB} stmt.Parse(&Blog{}) stmt.Schema.LookUpField("ID").Unique = true stmt.Parse(&Tag{}) stmt.Schema.LookUpField("ID").Unique = true
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 13.1K bytes - Click Count (0) -
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 Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 16.7K bytes - Click Count (0) -
finisher_api.go
func (db *DB) SavePoint(name string) *DB { if savePointer, ok := db.Dialector.(SavePointerDialectorInterface); ok { // close prepared statement, because SavePoint not support prepared statement. // e.g. mysql8.0 doc: https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html var ( preparedStmtTx *PreparedStmtTX isPreparedStmtTx bool ) // close prepared statement, because SavePoint not support prepared statement.
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0) -
docs/fr/docs/project-generation.md
* Fait aussi modulable que possible, pour pouvoir fonctionner comme tel, tout en pouvant être utilisé qu'en partie grâce à Vue CLI. * **PGAdmin** pour les bases de données PostgreSQL, facilement modifiable pour utiliser PHPMYAdmin ou MySQL. * **Flower** pour la surveillance de tâches Celery. * Équilibrage de charge entre le frontend et le backend avec **Traefik**, afin de pouvoir avoir les deux sur le même domaine, séparés par chemins, mais servis par différents conteneurs.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jul 29 23:35:07 GMT 2024 - 6.7K bytes - Click Count (0) -
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 Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
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 isSqlite() bool { return os.Getenv("GORM_DIALECT") == "sqlite" } func db(unscoped bool) *gorm.DB { if unscoped { return DB.Unscoped() } else { return DB }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 19 03:50:28 GMT 2024 - 8K bytes - Click Count (0) -
tests/associations_test.go
Name string `gorm:"uniqueIndex:uniq_user_id_name;size:256"` } func TestAssociationEmptyPrimaryKey(t *testing.T) { if DB.Dialector.Name() != "mysql" { t.Skip() } DB.Migrator().DropTable(&AssociationEmptyUser{}, &AssociationEmptyPet{}) DB.AutoMigrate(&AssociationEmptyUser{}, &AssociationEmptyPet{}) id := uint(100) user := AssociationEmptyUser{
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
docs/ja/docs/project-generation.md
* Dockerマルチステージビルド。コンパイルされたコードの保存やコミットが不要。 * ビルド時にフロントエンドテスト実行 (無効化も可能)。 * 可能な限りモジュール化されているのでそのまま使用できますが、Vue CLIで再生成したり、必要に応じて作成したりして、必要なものを再利用可能。 * PostgreSQLデータベースのための**PGAdmin**。(PHPMyAdminとMySQLを使用できるように簡単に変更可能) * Celeryジョブ監視のための**Flower**。 * **Traefik**を使用してフロントエンドとバックエンド間をロードバランシング。同一ドメインに配置しパスで区切る、ただし、異なるコンテナで処理。 * Traefik統合。Let's Encrypt **HTTPS**証明書の自動生成を含む。 * GitLab **CI** (継続的インテグレーション)。フロントエンドおよびバックエンドテストを含む。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jul 29 23:35:07 GMT 2024 - 7.1K bytes - Click Count (0) -
docs/ru/docs/deployment/docker.md
А также множество образов для разных вещей, например баз данных: * <a href="https://hub.docker.com/_/postgres" class="external-link" target="_blank">PostgreSQL</a> * <a href="https://hub.docker.com/_/mysql" class="external-link" target="_blank">MySQL</a> * <a href="https://hub.docker.com/_/mongo" class="external-link" target="_blank">MongoDB</a> * <a href="https://hub.docker.com/_/redis" class="external-link" target="_blank">Redis</a>, и т.д.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 44.7K bytes - Click Count (0) -
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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 12.2K bytes - Click Count (0)