@synatic/sql-to-mongo
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -124,3 +124,3 @@ const makeProjectionExpressionPartModule = require('./makeProjectionExpressionPart'); | ||
} | ||
if (queryPart.operator === 'LIKE') { | ||
if (queryPart.operator === 'LIKE' || queryPart.operator === 'ILIKE') { | ||
const likeVal = queryPart.right.value; | ||
@@ -139,3 +139,6 @@ const regex = sqlStringToRegex(likeVal); | ||
} | ||
if (queryPart.operator === 'NOT LIKE') { | ||
if ( | ||
queryPart.operator === 'NOT LIKE' || | ||
queryPart.operator === 'NOT ILIKE' | ||
) { | ||
const likeVal = queryPart.right.value; | ||
@@ -142,0 +145,0 @@ const regexString = sqlStringToRegex(likeVal); |
{ | ||
"name": "@synatic/sql-to-mongo", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Convert SQL to mongo queries or aggregates", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
210489
4447