Initialize.
Used for accessing columns in tables.
Used for accessing tables in the database.
Used for finding relationships between parent and child tables.
An Escaper matching the database type (e.g. MySQLEscaper or MSSQLEscaper. Used when escaping column names in compiled conditions.
A map from fully-qualified property name to FromColumnMeta. These are the columns that are available for selecting, performing conditions on, or ordering by.
Lookup functionality between fully-qualified property names and fully-qualified column names. Users operate on Column-decorated properties, but ultimately those properties need to be mapped to fully-qualified column names when querying.
Holds the mapping (RelationshipMetadata.mapTo) hierarchy. The map uses the parent alias as the key and a Set of mapping names (mapTo) as the values. The same mapping can be used multiple times, but each mapping must be unique to a parent. For example, it's valid for a person to have a "photo" and a building to have a "photo," but there cannot be two "photo" properties at same level (e.g. under person).
Stores all the parameters for the query. The parameters are used for WHERE and ON conditions.
A map from table alias to FromTableMeta objects.
Add a table to the list and make all the columns in the table "available" for use in a select, condition, or order clause.
Constructor of the Table-decorated class.
Alias of the table.
Alias of the parent table.
Property in the parent Entity to which children (this Entity) will be mapped.
How this table was joined to from the parent.
A join condition object for the two tables, or a where condition object for the parent table.
Any parameters used in the condition.
Helper method to compile a condition. The compilation process ensures that each parameter in the condition has a replacement in the parameter list, and that each fully-qualified property in the condition is available (that is, belongs to one of the tables used in the From). Also, a ColumnLookup is supplied so that fully-qualified property names can be mapped to the associated column names.
Get the metadata for all available columns as an array.
Get the FromColumnMeta for a column by fully-qualified property.
The fully-qualified property name to look for.
Get all the FromTableMeta as an array.
Get the FromTableMeta for a table by alias or throw.
Alias of the table.
Get the TableMetadata for a table by alias or throw.
Alias of the table.
Check if the column is available (for selecting, for a condition, or for an order by clause).
The fully-qualified property name to look for.
Set the condition object on one of the FromTableMeta objects and compile it.
Alias of the table to which the condition will be added.
The condition object to add and compile.
Any parameters in the cond object.
Generated using TypeDoc
A helper class for keeping metadata about tables and columns used in a From instance.