Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSQLNotFound = errors.New("not found")
ErrSQLNotFound happens when no rows were found
Functions ¶
Types ¶
type QueryFilter ¶
QueryFilter allows for select filters
type SQLNamedQueryer ¶
type SQLNamedQueryer interface { NamedQueryContext(ctx context.Context, query string, arg interface{}) ( *sqlx.Rows, error, ) }
SQLNamedQueryer is used to do select queries
type SQLPrepareNamed ¶
SQLPrepareNamed is THE most useful interface as postgres requires two phase to insert, with a prepare stmt
Click to show internal directories.
Click to hide internal directories.