@synatic/sql-to-mongo
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -143,2 +143,7 @@ const makeFilterConditionModule = require('./makeFilterCondition'); | ||
); | ||
if (join.expr.ast.from[0] && join.expr.ast.from[0].table) { | ||
toTable = join.expr.ast.from[0].table; | ||
} else { | ||
throw new Error('Missing table for join sub query'); | ||
} | ||
} | ||
@@ -145,0 +150,0 @@ lookupPipeline.push({$match: {$expr: joinQuery}}); |
{ | ||
"name": "@synatic/sql-to-mongo", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Convert SQL to mongo queries or aggregates", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
201420
4163