How to use the mongodb-query-parser.isCollationValid function in mongodb-query-parser

To help you get started, we’ve selected a few mongodb-query-parser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mongodb-js / compass-aggregations / src / modules / collation.js View on Github external
export const collationChanged = (collation) => {
  return {
    type: COLLATION_CHANGED,
    collation: queryParser.isCollationValid(collation)
  };
};

mongodb-query-parser

Parse MongoDB queries

Apache-2.0
Latest version published 11 days ago

Package Health Score

81 / 100
Full package analysis