MCPcopy
hub / github.com/go-gorm/gorm / isSqlite

Function isSqlite

tests/helper_test.go:317–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315}
316
317func isSqlite() bool {
318 return os.Getenv("GORM_DIALECT") == "sqlite"
319}
320
321func db(unscoped bool) *gorm.DB {
322 if unscoped {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected