package
0.0.0-20200503083229-2531e5dbcc71
Repository: https://github.com/outbrain/golib.git
Documentation: pkg.go.dev

# Functions

Convert variable length arguments into arguments array.
Exec executes given query using given args on given DB.
ExecNoPrepare executes given query using given args on given DB, without using prepared statements.
ExecSilently acts like Exec but does not report any error.
GetDB returns a DB instance based on uri.
No description provided by the author
QueryResultData returns a raw array of rows.
QueryResultDataNamed returns a raw array of rows, with column names.
QueryRowsMap is a convenience function allowing querying a result set while poviding a callback function activated per read row.
QueryRowsMapBuffered reads data from the database into a buffer, and only then applies the given function per row.
RowToArray is a convenience function, typically not called directly, which maps a single read database row into a NullString.
ScanRowsToArrays is a convenience function, typically not called directly, which maps rows already read from the databse into arrays of NullString.
ScanRowsToMaps is a convenience function, typically not called directly, which maps rows already read from the databse into RowMap entries.

# Variables

No description provided by the author

# Type aliases

Cell data is the result of a single (atomic) column in a single row.
ResultData is an ordered row set of RowData.
RowData is the result of a single row, in positioned array format.
RowMap represents one row in a result set.