OptionalbindOptional ReadonlymainThe 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 ReadonlymodelThe model of the main alias. Used to determine the type & column name of attributes referenced in the where clause.
Optional ReadonlyparameterThe style of parameter to use.
Optional ReadonlyreplacementsThese are used to inline replacements into the query, when one is found inside of a sql.literal.
Optional Readonlytype
Options accepted by AbstractQueryGeneratorTypeScript#escape