Skip to content

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.

Expression

Schema

void

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.