modulepackage
0.0.0-20200802192712-7245913dba7b
Repository: https://github.com/nektro/go.dbstorage.git
Documentation: pkg.go.dev
# Functions
ConnectMysql does.
ConnectPostgres does.
No description provided by the author
QueryHasRows checks if a Rows response contains any values, and then closes the query.
ScanAll scans all possible values of a QueryBuilder into an array based on template Scannable.
ScanFirst scans the first value from the QueryBuilder, then closes the query.
No description provided by the author
# Variables
flag vars.
InsertsLock - use this so that Database.QueryNextID and DataBase.Build.Ins happen in an atomic fashion.
flag vars.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Database represents an active db connection.
Executable is any object who represents a query that can be called on to produce a sql.Rows.
No description provided by the author
No description provided by the author
Scannable can take in Rows and return an object.