Documentation ¶
Index ¶
- func HANA(dsn string) (*sqlx.DB, error)
- func HANAMust(dsn string) *sqlx.DB
- func HANAMustWithKey(key string, dsn string) *sqlx.DB
- func HANAWithKey(key string, dsn string) (*sqlx.DB, error)
- func MSSQL(dsn string) (*sqlx.DB, error)
- func MSSQLMust(dsn string) *sqlx.DB
- func MSSQLMustWithKey(key string, dsn string) *sqlx.DB
- func MSSQLWithKey(key string, dsn string) (*sqlx.DB, error)
- func Oracle(dsn string) (*sqlx.DB, error)
- func OracleMust(dsn string) *sqlx.DB
- func OracleMustWithKey(key string, dsn string) *sqlx.DB
- func OracleWithKey(key string, dsn string) (*sqlx.DB, error)
- func Postgres(dsn string) (*sqlx.DB, error)
- func PostgresMust(dsn string) *sqlx.DB
- func PostgresMustWithKey(key string, dsn string) *sqlx.DB
- func PostgresWithKey(key string, dsn string) (*sqlx.DB, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MSSQL ¶
"server=<server name>;user id=<user name>;password=<password>;port=1433;database=<database name>;encrypt=disable" Calling code should handle error.
func Oracle ¶
"<user name>/<password>@<server name>:1521/<service name>" Calling code should handle error.
func OracleMust ¶
func Postgres ¶
"host=<server name> user=<user name> dbname=<database name> password=<password> sslmode=disable port=5432" Calling code should handle error.
func PostgresMust ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.