package
0.0.0-20210531070646-355f37940af8
Repository: https://github.com/openark/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 MySQL DB instance based on uri.
GetDB returns a DB instance based on uri.
GetDB returns a SQLite DB instance based on DB file name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueryResultDataNamed returns a raw array of rows, with column names.
QueryResultData returns a raw array of rows.
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

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.