@ronin/compiler 0.14.11-leo-ron-1099-1-experimental-348 → 0.14.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -988,16 +988,15 @@ var WITH_CONDITIONS = {
988
988
  lessOrEqual: (value) => ["<=", value]
989
989
  };
990
990
  var handleWith = (models, model, statementParams, instruction, parentModel) => {
991
- return composeConditions(
991
+ const subStatement = composeConditions(
992
992
  models,
993
993
  model,
994
994
  statementParams,
995
995
  "with",
996
996
  instruction,
997
- {
998
- parentModel
999
- }
997
+ { parentModel }
1000
998
  );
999
+ return `(${subStatement})`;
1001
1000
  };
1002
1001
 
1003
1002
  // node_modules/title/dist/esm/lower-case.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.14.11-leo-ron-1099-1-experimental-348",
3
+ "version": "0.14.11",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {