package
2.0.7+incompatible
Repository: https://github.com/frazercomputing/upper-io-db.git
Documentation: pkg.go.dev

# Functions

Map receives a pointer to map or struct and maps it to columns and values.
New wraps an active *sql.DB session.
NewIterator creates an iterator using the given *sql.Rows.
NewTx wraps an active *sql.Tx transation.
Open opens a SQL database.
No description provided by the author
RegisterAdapter registers a SQL database adapter.
WithSession returns a query builder that is bound to the given database session.
WithTemplate returns a builder that is based on the given template.

# Variables

Common error messages.
Common error messages.
Common error messages.
Common error messages.
Common error messages.

# Structs

AdapterFuncMap is a struct that defines a set of functions that adapters need to provide.
BatchInserter provides a helper that can be used to do massive insertions in batches.
MapOptions represents options for the mapper.

# Interfaces

Backend holds common methods for SQL databases.
Builder defines methods that can serve as starting points for SQL queries.
Database represents a Database which is capable of both creating transactions and use SQL builder methods.
Deleter represents a DELETE statement.
Execer provides methods for executing statements that do not return results.
Getter provides methods for executing statements that return results.
Inserter represents an INSERT statement.
Iterator provides methods for iterating over query results.
Preparer provides the Prepare method.
ResultMapper defined methods for a result mapper.
Selector represents a SELECT statement.
Tx represents transaction on a SQL database.
Updater represents an UPDATE statement.