Documentation
¶
Index ¶
- func Batch[T any](fn func(qry string, args any) (sql.Result, error), qry string, args []T, ...) error
- func BatchIn[T comparable](tx *sqlx.Tx, qry string, args []T, size int, name string) error
- func Get() *sqlx.DB
- func InitLogger(create bool)
- func New(dsn string, allowCreate bool, logEnabled bool) *sqlx.DB
- func NewLogger() sqldblogger.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(create bool)
func NewLogger ¶
func NewLogger() sqldblogger.Logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.