示例#1
0
文件: postgres.go 项目: pgrunde/sol
// Add the postgres dialect to the dialect registry
func init() {
	dialect.Register("postgres", &PostGres{})
}
示例#2
0
文件: sqlite3.go 项目: aodin/sol
// Add the sqlite3 dialect to the dialect registry
func init() {
	dialect.Register("sqlite3", Dialect())
}
示例#3
0
文件: mysql.go 项目: aodin/sol
// Add the MySQL dialect to the dialect registry
func init() {
	dialect.Register("mysql", Dialect())
}
示例#4
0
文件: sqlite3.go 项目: pgrunde/sol
// Add the sqlite3 dialect to the dialect registry
func init() {
	dialect.Register("sqlite3", &Sqlite3{})
}
示例#5
0
文件: postgres.go 项目: aodin/sol
// Add the postgres dialect to the dialect registry
func init() {
	dialect.Register("postgres", Dialect())
}