@ronin/compiler 0.14.6-leo-ron-1099-1-experimental-336 → 0.14.6-leo-ron-1099-1-experimental-338

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 +1 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -570,11 +570,7 @@ var handleTo = (models, model, statementParams, queryType, dependencyStatements,
570
570
  [],
571
571
  { returning: false }
572
572
  ).main;
573
- const details = { ...query };
574
- if (queryType === "add" && subQueryType === "add") {
575
- details.after = true;
576
- }
577
- dependencyStatements.push(details);
573
+ dependencyStatements.push({ ...query, after: true });
578
574
  };
579
575
  if (Array.isArray(fieldValue)) {
580
576
  if (queryType === "set") composeStatement("remove");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.14.6-leo-ron-1099-1-experimental-336",
3
+ "version": "0.14.6-leo-ron-1099-1-experimental-338",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {