mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 11:46:16 -06:00
Bumps [github.com/uptrace/bun/dialect/sqlitedialect](https://github.com/uptrace/bun) from 1.2.1 to 1.2.5. - [Release notes](https://github.com/uptrace/bun/releases) - [Changelog](https://github.com/uptrace/bun/blob/master/CHANGELOG.md) - [Commits](https://github.com/uptrace/bun/compare/v1.2.1...v1.2.5) --- updated-dependencies: - dependency-name: github.com/uptrace/bun/dialect/sqlitedialect dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
324 B
Go
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
|
|
)
|