Documentation ¶
Index ¶
- Constants
- func Connect(ctx context.Context, dsn string) (_ store.Storer, err error)
- func DataDefiner(dbName string, conn *sqlx.DB) *dataDefiner
- func Dialect() *mssqlDialect
- func InformationSchema(conn *sqlx.DB) *informationSchema
- func NewConfig(dsn string) (c *rdbms.ConnConfig, err error)
- type TypeTime
Constants ¶
View Source
const (
// base for our schemas
SCHEMA = "sqlserver"
)
Variables ¶
This section is empty.
Functions ¶
func DataDefiner ¶
func InformationSchema ¶
func NewConfig ¶
func NewConfig(dsn string) (c *rdbms.ConnConfig, err error)
NewConfig validates given DSN and ensures params are present and correct
If param is missing it sets it to default but returns error in case of incorrect param value
See https://github.com/go-sql-driver/mysql for available dsn params
Types ¶
Click to show internal directories.
Click to hide internal directories.