Versions in this module Expand all Collapse all v0 v0.0.6 Aug 17, 2024 Changes in this version + type DbSource struct + DataSourceName string + DriverName string + func (s *DbSource) OpenConnection() (*sqlx.DB, error) + func (s *DbSource) UseConnection(f func(*sqlx.DB) error) error + func (s *DbSource) UseTransaction(db *sqlx.DB, opts *sql.TxOptions, f func(*sqlx.Tx) error) error + type IDbConnection interface + DriverName func() string + Get func(dest any, query string, args ...any) error + NamedExec func(query string, arg any) (sql.Result, error) + NamedQuery func(query string, arg any) (*sqlx.Rows, error) + Select func(dest any, query string, args ...any) error