# Functions
AndConditions returns a list of conditions separated by AND.
As is a convenience function to define column alias in go in order to be a bit less error prone and more go semantic.
Asc declares OrderBy ascending, so least to greatest.
AVG Renders SQL AVG of the expresion in column.
ColumnGroup returns a list of columns, comma separated and between parenthesis.
CompareExpresions returns a comparision between two SQL expresions using operator.
ComplexFunction constructs a complexFunction.
Constraint wraps the passed constraint name with the required SQL to use it.
COUNT Renders SQL COUNT of the expresion in column.
Desc declares OrderBy descending, or greatest to least.
Distinct allows selection of distinct results only.
Equals is a convenience function to enable use of go for where definitions.
GreaterOrEqualThan is a convenience function to enable use of go for where definitions.
GreaterThan is a convenience function to enable use of go for where definitions.
In is a convenience function to enable use of go for where definitions.
InSlice is a convenience function to enable use of go for where definitions and assumes the passed value is already a slice.
IsNoRows returns true if the passed error is one of the many possibilities of no rows returned by the different libraries.
LesserOrEqualThan is a convenience function to enable use of go for where definitions.
LesserThan is a convenience function to enable use of go for where definitions.
Like is a convenience function to enable use of go for where definitions.
MarksToPlaceholders replaces `?` in the query with `$1` style placeholders, this must be done with a finished query and requires the args as they depend on the position of the already rendered query, it does some consistency control and finally expands `(?)`.
MAX Renders SQL MAX of the expresion in column.
MIN Renders SQL MIN of the expresion in column.
NewExpresionChain returns a new instance of ExpresionChain hooked to the passed DB.
NillableInt64 returns a safely dereferenced int64 from it's pointer.
NillableString returns a safely dereferenced string from it's pointer.
Not replaces the chaining operation in the last segment atom by 'AND NOT' or 'OR NOT' depending on what the previous one was (either 'AND' or 'OR') as long as the last operation is a 'WHERE' segment atom.
NotEquals is a convenience function to enable use of go for where definitions.
NotLike is a convenience function to enable use of go for where definitions.
NotNull is a convenience function to enable use of go for where definitions.
Null is a convenience function to enable use of go for where definitions.
Or replaces the chaining operation in the last segment atom by 'OR' or 'OR NOT' depending on what the previous one was (either 'AND' or 'AND NOT') as long as the last operation is a 'WHERE' segment atom.
SetToCurrentTimestamp crafts a postgres SQL assignement of the field to the current timestamp with timezone.
SimpleFunction returns the rendered fName invocation passing params as argument.
SUM Renders SQL SUM of the expresion in column.
TablePrefix returns a function that prefixes column names with the passed table name.
# Constants
CurrentTimestampPGFn is the name of the function of postgres that returns current timestamp with tz.
NullValue represents the NULL value in SQL.
SQLAll is a modifier that can be append to UNION, INTERSECT and EXCEPT.
SQLAnd represents AND in SQL.
SQLAndNot Negates the expresion after AND.
SQLNot represents NOT in SQL.
SQLNothing is the default value for an SQLBool.
SQLOr represents OR in SQL.
SQLOrNot Neates the expresion after OR.
# Structs
ExpresionChain holds all the atoms for the SQL expresions that make a query and allows to chain more assuming the chaining is valid.
Group allows to group a set of expressions and run them together in a transaction.
OnConflict is chained to build `OnConflict` statements.
OnConflictAction is used to limit developer actions.
OnUpdate is used to limit developer actions.
OrderByOperator unifies the `Asc` and `Desc` functions.
SelectArgument contains the components of a select column.
# Interfaces
Function represents a SQL function.
# Type aliases
CompOperator represents a possible operator to compare two SQL expresions.