Versions in this module Expand all Collapse all v1 v1.0.0 May 28, 2019 Changes in this version + var ErrNoArg = errors.New("no passed argument, can not scan") + type Handler interface + Prepare func(query string) (*sql.Stmt, error) + type QueryStruct struct + Condition string + Query string + Set string + Statement string + Table string + func (q QueryStruct) String() string + type Request struct + Arg interface{} + func FromHandler(handler Handler) Request + func (rq Request) ExecQuery(args ...interface{}) (sql.Result, error) + func (rq Request) GetFields(args ...interface{}) error + func (rq Request) GetIntoOneStruct(args ...interface{}) error + func (rq Request) GetIntoSlice(args ...interface{}) error + func (rq Request) GetIntoStructs(args ...interface{}) error + func (rq Request) GetOneField(args ...interface{}) error + func (rq Request) GetOneRow(args ...interface{}) (*sql.Row, error) + func (rq Request) GetRows(args ...interface{}) (*sql.Rows, error) + func (rq Request) InsertOneStruct(structure interface{}) error + func (rq Request) InsertStructs(slice interface{}) error + func (rq Request) PrepareStmt() (*sql.Stmt, error)