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

Function isMysql

tests/helper_test.go:280–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278}
279
280func isMysql() bool {
281 return os.Getenv("GORM_DIALECT") == "mysql"
282}
283
284func mysqlVersionAtLeast(major, minor int) bool {
285 if !isMysql() {

Callers 4

TestTableTypeFunction · 0.85
mysqlVersionAtLeastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected