Skip to content

mongoEventFilter

function mongoEventFilter(q): Filter<EventDoc>;

Defined in: src/storage/mongodb.ts:100

Compile a NormalizedQuery to a Mongo filter that agrees exactly with matchesQuery (plus the keyset position when the query has one).

Parameter Type
q NormalizedQuery

Filter<EventDoc>