Sift
lastmod 2021-08-05created 2021-08-051 edits
Using MongoDB queries in JS.
Features
- Supports MongoDB query operators
- $in, $nin, $exists, $gte, $gt, $lte, $lt, $eq, $ne, $mod, $all, $and, $or, $nor, $not, $size, $type, $regex, $where, $elemMatch
- sift() : creates a filter using all of the query operators above
- createQueryTester() : creates a filter using only specific operators
- createEqualsOperation() : adds a custom operator