mongoDbFilter
mongoDbFilter(
predicate):Record<string,MongoDbFilterValue>
Converts a predicate to the filter document that a MongoDB driver accepts.
An integer becomes a bigint, which a driver stores as a 64-bit BSON
integer. A caller that needs the driver’s own Long wraps that value.
Throws when the predicate carries a value that no profile emits.
Parameters
Section titled “Parameters”predicate
Section titled “predicate”MongoDbPredicate
Predicate that the MongoDB profile produced.
Returns
Section titled “Returns”Record<string, MongoDbFilterValue>