Documentation ¶
Index ¶
- Variables
- type DB
- func (sqlpp *DB) Args(args ...interface{}) []interface{}
- func (sqlpp *DB) Close() error
- func (sqlpp *DB) Exec(query string, args ...interface{}) (sql.Result, error)
- func (sqlpp *DB) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (sqlpp *DB) Query(query string, args []interface{}, scan Scanner) ([]interface{}, error)
- func (sqlpp *DB) QueryContext(ctx context.Context, query string, args []interface{}, scan Scanner) ([]interface{}, error)
- func (sqlpp *DB) QueryRow(query string, args []interface{}, dest ...interface{}) error
- func (sqlpp *DB) QueryRowContext(ctx context.Context, query string, args []interface{}, dest ...interface{}) error
- type Scanner
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNilRows = errors.New("sqlpp: nil rows") ErrNilScanner = errors.New("sqlpp: nil scanner") )
Functions ¶
This section is empty.
Types ¶
type DB ¶
func NewPostgreSQL ¶
func (*DB) ExecContext ¶
func (*DB) QueryContext ¶
Click to show internal directories.
Click to hide internal directories.