package
0.0.0-20190507022301-b1bd2f5c3845
Repository: https://github.com/gincoinc/go.git
Documentation: pkg.go.dev

# Packages

Package dbtest is a package to ease the pain of developing test code that works against external databases.
No description provided by the author
Package sqlutils contains utility functions for manipulating strings of SQL.

# Functions

Open the database at `dsn` and returns a new *Session using it.
Wrap wraps a bare *sql.DB (from the database/sql stdlib package) in a *db.Session instance.

# Structs

DeleteBuilder is a helper struct used to construct sql queries of the DELETE variety.
GetBuilder is a helper struct used to construct sql queries of the SELECT variety.
InsertBuilder is a helper struct used to construct sql queries of the INSERT variety.
NoRowsError is returned when an insert is attempted without providing any values to insert.
SelectBuilder is a helper struct used to construct sql queries of the SELECT variety.
Session provides helper methods for making queries against `DB` and provides utilities such as automatic query logging and transaction management.
Table helps to build sql queries against a given table.
UpdateBuilder is a helper struct used to construct sql queries of the UPDATE variety.

# Interfaces

Conn represents a connection to a single database.