- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for preparedStmt (0.05 sec)
-
tests/migrate_test.go
} } func TestInvalidCachedPlanPrepareStmt(t *testing.T) { if DB.Dialector.Name() != "postgres" { return } db, err := gorm.Open(postgres.Open(postgresDSN), &gorm.Config{PrepareStmt: true}) if err != nil { t.Errorf("Open err:%v", err) } if debug := os.Getenv("DEBUG"); debug == "true" { db.Logger = db.Logger.LogMode(logger.Info) } else if debug == "false" {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0)