Documentation
¶
Index ¶
- Constants
- func IsDCL(s string) bool
- func IsDDL(s string) bool
- func IsDML(s string) bool
- func IsDatabaseConnected(ctx context.Context, db *sql.DB) (perr error)
- func IsEmptyError(err error) bool
- func LoadDatabase(addr string) (drv string, db *sql.DB, err error)
- func ParseAddress(addr string) (drv, dsn string, err error)
Constants ¶
View Source
const ( MySQLDialect = "mysql" MariaDBDialect = MySQLDialect PostgresDialect = "postgres" OracleDialect = "oracle" SQLServerDialect = "mssql" )
Variables ¶
This section is empty.
Functions ¶
func IsEmptyError ¶ added in v0.0.3
func ParseAddress ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.