gotosocial/vendor/github.com/uptrace/bun/dialect/dialect.go
kim (grufwub) bdcc090851 update bun library -> v1.0.4
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08 20:05:26 +01:00

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