Skip to content

MongoEmitContext

MongoEmitContext = object

Defined in: packages/aipql/src/types.ts:100

Context passed to Mongo function handlers so they can recurse into the translator and build filter objects without access to internals.

caseInsensitive: boolean

Defined in: packages/aipql/src/types.ts:106

Whether case-insensitive matching is enabled.

emit(expr): MongoFilter

Defined in: packages/aipql/src/types.ts:102

Translate a sub-expression into a MongoFilter object.

Expr

MongoFilter


fieldPath(expr): string

Defined in: packages/aipql/src/types.ts:104

Resolve a field reference expression to a dotted path string e.g. “address.city”.

Expr

string