Documentation
¶
Index ¶
- type Batis
- func (batis *Batis) DBConfig(dbConfig *DBConfig) *Batis
- func (batis *Batis) Init() *Batis
- func (batis *Batis) LogFatal(message string, args ...interface{})
- func (batis *Batis) LogInfo(message string, args ...interface{})
- func (batis *Batis) LogWarn(message string, args ...interface{})
- func (batis *Batis) Mapper(binding string) *mapper
- func (batis *Batis) MapperPaths(mapperPaths ...string) *Batis
- func (batis *Batis) RegisterDS(name, dsn string) *Batis
- func (batis *Batis) RegisterDSWithConfig(name, dsn string, dbConfig *DBConfig) *Batis
- func (batis *Batis) ShowSql(showSql bool) *Batis
- func (batis *Batis) TxMapper(binding string) *txMapper
- type DB
- type DBConfig
- type NamedParam
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batis ¶
type Batis struct {
// contains filtered or unexported fields
}
Define batis struct
func (*Batis) MapperPaths ¶
Set mapper path
func (*Batis) RegisterDS ¶
Register datasource
func (*Batis) RegisterDSWithConfig ¶
Register datasource with config
type NamedParam ¶
type NamedParam struct {
// contains filtered or unexported fields
}
Define namedParam struct
Click to show internal directories.
Click to hide internal directories.