# Packages
* Copyright (c) 2019-2021.
No description provided by the author
Package resources provides ready-to-use SQL schemes and DAOs for attaching resource policies to any data.
# Functions
CountStringFromExpression finally builds a full SELECT count(*) from a Goqu Expression.
DeleteStringFromExpression creates sql for DELETE FROM expression.
ExecMax execute a set of migrations
Will apply at most `max` migrations.
ExecMigration Execute a set of migrations
Returns the number of applied migrations.
GetExpressionForString creates correct goqu.Expression for field + string value.
GetQueryValueFor field value.
JoinWheresWithParenthesis joins conditions using parenthesis if there are many, or no parenthesis if there is just one, and prepend the WHERE keyword to the string.
LockMigratePackage sets a global lock on rubenv/migrate package.
No description provided by the author
NewDAOQuery adds database functionality to a Query proto message.
NewQueryBuilder generates SQL request from object.
PlanMigration plans a migration.
QueryStringFromExpression finally builds a full SELECT from a Goqu Expression.
UnlockMigratePackage frees the global lock on rubenv/migrate package.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Handler for the main functions of the DAO.
PackrMigrationSource is a set of migrations loaded from a packr box.
# Interfaces
BatchReceiver interface.
BatchSender interface.
DAO interface definition.
Enquirer interface.
ExpressionConverter ...
Expressioner ...
No description provided by the author
PackrBox avoids pulling in the packr library for everyone, mimicks the bits of packr.Box that we need.
No description provided by the author
No description provided by the author