# Functions
Begin starts new transaction with respect to the transaction context and transaction options with controller 'c'.
Count gets given scope models count.
Exists checks if given query model exists.
HealthCheck checks all repositories health.
New creates new DB for given controller.
RefreshModels refreshes all 'fields' (attributes, foreign keys) for provided input 'models'.
RunInTransaction runs specific function 'txFunc' within a transaction.
WithDefaultRepository sets the default repository for all models without specified repository.
WithMigrateModels sets tup the models to migrate into database structures.
WithModelMap with model map.
WithRepositoryModels maps the repository 'r' to provided 'models'.
WithSynchronousConnections sets the synchronous connections for the db.
WithTimeFunc sets the function used for the timestamps.
# Variables
No description provided by the author
ErrRepository is an error related with the repository.
ErrRepositoryAlreadyRegistered class of errors when repository is already registered.
ErrRepositoryNotFound is an error when repository is not found.
# Structs
base is the default query composer that implements DB interface.
No description provided by the author
RepositoryMapper is the database repository mapping structure.
Tx is an in-progress transaction orm.
# Interfaces
AfterDeleter is the interface used as an after delete hook.
AfterFinder is the interface used as a after find hook.
AfterInserter is the interface that has a method used as a hook after the creation process.
AfterUpdater is the interface used as a after patch hook.
BeforeDeleter is the interface used as a before delete hook.
BeforeInserter is the interface used for hooks before the creation process.
BeforeUpdater is the interface used as a before patch hook.
Builder is the interface used to build queries.
DB is the common interface that allows to do the queries.
DefaultRepositoryGetter is the default repository getter.
QueryDeleter is an interface that allows to delete the model values in the query scope.
QueryFinder is an interface that allows to list results from the query.
QueryGetter is an interface that allows to get single result from query.
QueryInserter is an interface that allows to store the values in the query scope.
QueryRefresher is an interface that allows to refresh the models in the query scope.
QueryRelationAdder is an interface that allows to get the relations from the provided query results.
QueryRelationClearer is an interface that allows to clear the relations for provided query scope.
QueryRelationSetter is an interface that allows to set the query relation for provided query scope.
QueryUpdater is an interface that allows to update the values in the query scope.
RepositoryGetter gets the repository for provided model.