Skip to content
Search

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
  • Lets you search exactly the way you do in MongoDB through the functions below
    • sift() : creates a filter using all of the query operators above
    • createQueryTester() : creates a filter using only specific operators
    • createEqualsOperation() : adds a custom operator
  • Regular expression search

See also

Favorite site

author Zer0 sitemap