gotosocial/vendor/github.com/uptrace/bun/dialect/dialect.go
tobi 88979b35d4
[chore] Update bun and sqlite dependencies (#478)
* update bun + sqlite versions

* step bun to v1.1.3
2022-04-24 12:26:22 +02:00

27 lines
284 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"
default:
return "invalid"
}
}
const (
Invalid Name = iota
PG
SQLite
MySQL
MSSQL
)