sqlx

package
v0.0.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddValueCount

func AddValueCount(query string, iMax int) string

func GetRowFunc

func GetRowFunc(rows *sqlx.Rows, err error, fnc func(r *sqlx.Rows) error) *godd.Error

func GetRowOne

func GetRowOne(rows *sqlx.Rows, err error, template interface{}) (interface{}, *godd.Error)

func IsRollback

func IsRollback(tx *sqlx.Tx, isRollback bool) bool

func IsRollbackByError

func IsRollbackByError(tx *sqlx.Tx, goddErr *godd.Error) bool

func QueryFunc

func QueryFunc(tx *sqlx.Tx, query string, argList []interface{}, fnc func(r *sqlx.Rows) error) *godd.Error

func QueryOne

func QueryOne(tx *sqlx.Tx, query string, argList []interface{}, responseStuct interface{}) (interface{}, *godd.Error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL