Skip to content

Parse comparators from values.

Choose a tag to compare

@pbatey pbatey released this 02 Mar 18:39
· 60 commits to main since this release

Comparision operators that are encoded into the value are also considered. For example, a query such as: name=john&age=%3E21 becomes the following hash:

{
  criteria: {
    name: 'john',
    age: { $gt: 21 }
  }
}