checkAgainstSchema
checkAgainstSchema(
expression,schema):void
Defined in: src/query/expression.ts:563
Checks every attribute an expression names against a schema — the runtime half of the check SchemaRef makes at compile time, for the callers the type system does not reach.
Parameters
Section titled “Parameters”expression
Section titled “expression”schema
Section titled “schema”Returns
Section titled “Returns”void
Throws
Section titled “Throws”If a predicate names something that is not a column of the schema, a column that is not indexed, or compares a column against a value of another type.