# Functions
Open the database at `dsn` and returns a new *Session using it.
No description provided by the author
Wrap wraps a bare *sql.DB (from the database/sql stdlib package) in a *db.Session instance.
# Variables
No description provided by the author
No description provided by the author
ErrBadConnection is an error returned when driver returns `bad connection` error.
ErrCancelled is an error returned by Session methods when request has been cancelled (ex.
ErrConflictWithRecovery is an error returned by Session methods when read replica cancels the query due to conflict with about-to-be-applied WAL entries (https://www.postgresql.org/docs/current/hot-standby.html).
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
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BatchInsertBuilder works like sq.InsertBuilder but has a better support for batching large number of rows.
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.
No description provided by the author
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.
No description provided by the author
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.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author