@ronin/compiler 0.14.0-leo-ron-1099-1-experimental-311 → 0.14.0-leo-ron-1099-1-experimental-312

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -473,8 +473,8 @@ var handleSelecting = (models, model, statementParams, single, instructions, opt
473
473
  const { fieldSelector } = getFieldFromModel(model, selectedField.slug, {
474
474
  instructionName: "selecting"
475
475
  });
476
- if (model.tableAlias?.startsWith("including_")) {
477
- return `${fieldSelector} as "${model.tableAlias}.${selectedField.slug}"`;
476
+ if (options.mountingPath) {
477
+ return `${fieldSelector} as "${options.mountingPath}.${selectedField.slug}"`;
478
478
  }
479
479
  return fieldSelector;
480
480
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.14.0-leo-ron-1099-1-experimental-311",
3
+ "version": "0.14.0-leo-ron-1099-1-experimental-312",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {