- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for SQLite (0.44 sec)
-
docs/en/docs/tutorial/sql-databases.md
/// As SQLModel is based on SQLAlchemy, you can easily use **any database supported** by SQLAlchemy (which makes them also supported by SQLModel), like: * PostgreSQL * MySQL * SQLite * Oracle * Microsoft SQL Server, etc. In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 15.4K bytes - Viewed (0) -
tests/table_test.go
t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } r = dryDB.Create(&UserWithTable{}).Statement if DB.Dialector.Name() != "sqlite" { if !regexp.MustCompile(`INSERT INTO .gorm.\..user. (.*name.*) VALUES (.*)`).MatchString(r.Statement.SQL.String()) { t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } } else {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 12.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/sql-databases.md
/// SQLModel은 SQLAlchemy를 기반으로 하므로, SQLAlchemy에서 **지원하는 모든 데이터베이스**를 손쉽게 사용할 수 있습니다(SQLModel에서도 동일하게 지원됩니다). 예를 들면: * PostgreSQL * MySQL * SQLite * Oracle * Microsoft SQL Server 등. 이 예제에서는 **SQLite**를 사용합니다. SQLite는 단일 파일을 사용하고 파이썬에서 기본적으로 지원하기 때문입니다. 따라서 이 예제를 그대로 복사하여 실행할 수 있습니다. 나중에 실제 프로덕션 애플리케이션에서는 **PostgreSQL**과 같은 데이터베이스 서버를 사용하는 것이 좋습니다. /// tip | 팁
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 24 16:14:29 UTC 2024 - 18K bytes - Viewed (0) -
dbflute_fess/dfprop/basicInfoMap.dfprop
# 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 # - - - - - - - - - -/ # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # o targetLanguage: (Required) # The target language.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Oct 31 23:35:14 UTC 2015 - 9.2K bytes - Viewed (0) -
tests/update_test.go
t.Errorf("failed to find created record, got error: %v, result: %+v", err, result4) } } // only sqlite, postgres, gaussdb, sqlserver support returning func TestUpdateReturning(t *testing.T) { if DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "gaussdb" && DB.Dialector.Name() != "sqlserver" { return } users := []*User{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 30.4K bytes - Viewed (0) -
tests/embedded_struct_test.go
type AdvancedUser struct { EmbUser `gorm:"embedded"` Advanced bool } DB.Migrator().DropTable(&AdvancedUser{}) if err := DB.AutoMigrate(&AdvancedUser{}); err != nil { if DB.Dialector.Name() != "sqlite" { t.Errorf("Failed to auto migrate advanced user, got error %v", err) } } } func TestEmbeddedTagSetting(t *testing.T) { type Tag1 struct { Id int64 `gorm:"autoIncrement"` }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/helper_test.go
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 }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
tests/migrate_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
tests/preload_suits_test.go
t.Errorf("got %s; want %s", toJSONString(got), toJSONString(want)) } } func TestManyToManyPreloadWithMultiPrimaryKeys(t *testing.T) { if name := DB.Dialector.Name(); name == "sqlite" || name == "sqlserver" { t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment") } if name := DB.Dialector.Name(); name == "mysql" {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 05 11:34:13 UTC 2025 - 30.4K bytes - Viewed (0) -
tests/sql_builder_test.go
sql = strings.ReplaceAll(sql, `'`, `"`) // convert dialect special quote into double quote switch DB.Dialector.Name() { case "postgres", "gaussdb": sql = strings.ReplaceAll(sql, `"`, `"`) case "mysql", "sqlite": sql = strings.ReplaceAll(sql, "`", `"`) case "sqlserver": sql = strings.ReplaceAll(sql, `'`, `"`) } return sql
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 16.7K bytes - Viewed (0)