package
0.2.7
Repository: https://github.com/verticalgmbh/database-go.git
Documentation: pkg.go.dev

# Functions

Add creates a binary node used to add two values **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
AliasColumn specifies a column of a table using a table alias.
AliasField specify a field of an entity using a table alias.
And creates a binary node for an AND operation **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Assign creates a binary node for an Assign operation **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Average computes the average of a series of values.
Binary creates a new binary node to be used in an expression tree **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Coalesce - returns first value from collection which is not null or null if all values are null.
Column - creates a new node representing a column.
Count used to count number of rows returned.
Div creates a binary node used to divide a value by another **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Equals creates a binary node for an Equals operation **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
EqualsNot creates a binary node for an Not Equal operation **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Field - creates a new node representing an entity field.
Geq creates a binary node used to compare whether a value is greater or equal to another **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Grt creates a binary node used to compare whether a value is greater than another **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
In checks for existence of an item in a collection.
Leq creates a binary node used to compare whether a value is less or equal to another **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Les creates a binary node used to compare whether a value is less than another **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Like - creates a binary node for a Like operation **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Max get maximum value of a series of values **Parameters** - param: expression which specifies values of which to get maximum **Returns** - *FunctionNode: node to use in expression.
Min get minimum value of a series of values **Parameters** - param: expression which specifies values of which to get minimum **Returns** - *FunctionNode: node to use in expression.
Mul creates a binary node used to multiply a value with another **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
NamedParameter - creates a new node representing a named statement parameter.
Or creates a binary node for an OR operation **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Parameter - creates a new node representing a positional statement parameter.
Statement includes a sub statement in an expression.
Sub creates a binary node used to subtract a value from another **Parameters** - lhs: left hand side operand - rhs: right hand side operand **Returns** - *BinaryNode: node to use in expression trees.
Table - creates a node which specifies a table.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Complement - compute complement of node.
FunctionAverage average of a set of values.
FunctionCoalesce returns first value from list which is not null, null if all values are null.
FunctionCount counts rows in a result set.
FunctionMax maximum of a set of values.
FunctionMin minimum of a set of values.
FunctionRandom get a random number.
FunctionSum of a set of values.
Negate - negate connected node.
Not - logical Not.

# Structs

AliasNode node used to specify a field or column using an table alias reference.
BinaryNode - node which combines two operands using an operator.
ColumnNode node used to specify a column.
FieldNode - node representing a field in an entity type.
FunctionNode node in an expression tree representing a database function.
InCollectionNode predicate node which expects an item to be part of a collection in sql this translates to an 'item IN (collection)' statement.
ParameterNode node representing a parameter in a statement.
StatementNode node used to include a statement in an expression.
TableNode - node specifying a table in an expression.
UnaryNode - unary operator to a node.

# Type aliases

No description provided by the author
FunctionType type of database function.
UnaryOperation - type of unary expression node.