gotosocial/vendor/github.com/uptrace/bun/dialect/dialect.go
kim 29007b1b88
[chore] update bun libraries to v1.2.5 (#3528)
* update bun libraries to v1.2.5

* pin old v1.29.0 of otel
2024-11-08 13:51:23 +00:00

29 lines
324 B
Go

package dialect
type Name int
func (n Name) String() string {
switch n {
case PG:
return "pg"
case SQLite:
return "sqlite"
case MySQL:
return "mysql"
case MSSQL:
return "mssql"
case Oracle:
return "oracle"
default:
return "invalid"
}
}
const (
Invalid Name = iota
PG
SQLite
MySQL
MSSQL
Oracle
)