Interface: CompileOptions
Defined in: src/query/compiler.ts:7
Properties
limit?
optionallimit?:number
Defined in: src/query/compiler.ts:8
skip?
optionalskip?:number
Defined in: src/query/compiler.ts:9
sort?
optionalsort?:Record<string,-1|1>
Defined in: src/query/compiler.ts:10
schemas?
optionalschemas?:Record<string,SchemaDef>
Defined in: src/query/compiler.ts:12
Registry of collectionName → schema, used to resolve multi-hop ref traversals.
allowRawOperators?
optionalallowRawOperators?:boolean
Defined in: src/query/compiler.ts:19
When false (the default), a filter value that contains MongoDB operator keys ($-prefixed) is rejected as likely NoSQL operator injection — the common case being untrusted request data flowing into a filter value. Set true to allow raw operator objects (advanced, trusted callers only).