Documentation ¶
Index ¶
- func EndTx(tx *sql.Tx, err error) error
- func GetTx(db *sql.DB, tx *sql.Tx) (*sql.Tx, error)
- func New(config Config) (*sql.DB, error)
- func Ping(db *sql.DB) bool
- func PrepareFullTextSearch(query, search string, index uint) (string, string)
- func RowsClose(rows *sql.Rows, err error) error
- type Config
- type WhereInUint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareFullTextSearch ¶
PrepareFullTextSearch replace $INDEX param in query and expand words
Types ¶
type WhereInUint ¶
type WhereInUint []uint
WhereInUint wrapper for assigning "IN ($n)" in WHERE clause
Click to show internal directories.
Click to hide internal directories.