package
2.0.0+incompatible
Repository: https://github.com/thomasmodeneis/db.git
Documentation: pkg.go.dev

# Functions

Map receives a pointer to map or struct and maps it to columns and values.
No description provided by the author
NewIterator creates an iterator using the given *sql.Rows.
No description provided by the author
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

No description provided by the author
BatchInserter provides a helper that can be used to do massive insertions in batches.

# 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.
ResultMapper defined methods for a result mapper.
Selector represents a SELECT statement.
Tx represents transaction on a SQL database.
Updater represents an UPDATE statement.