Optional
bindOptional
Readonly
mainThe alias of the main table corresponding to FormatWhereOptions.model. Used as the prefix for attributes that do not reference an association, e.g.
const where = { name: 'foo' };
will produce
WHERE "<mainAlias>"."name" = 'foo'
Optional
Readonly
modelThe model of the main alias. Used to determine the type & column name of attributes referenced in the where clause.
Optional
Readonly
replacementsThese are used to inline replacements into the query, when one is found inside of a Literal.
Methods that support this option are functions that add values to the query. If Bindable.bindParam is specified, the value will be added to the query as a bind parameter. If it is not specified, the value will be added to the query as a literal.