@ronin/compiler 0.11.4-leo-ron-1083-experimental-243 → 0.11.5-leo-ron-1083-experimental-244
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1599,8 +1599,7 @@ var Transaction = class {
|
|
1599
1599
|
const modelListWithPresets = modelList.map((model) => {
|
1600
1600
|
return addDefaultModelPresets(modelList, model);
|
1601
1601
|
});
|
1602
|
-
const
|
1603
|
-
const mainStatements = [];
|
1602
|
+
const statements = [];
|
1604
1603
|
for (const query of queries) {
|
1605
1604
|
const result = compileQueryInput(
|
1606
1605
|
query,
|
@@ -1608,12 +1607,11 @@ var Transaction = class {
|
|
1608
1607
|
options?.inlineParams ? null : [],
|
1609
1608
|
{ expandColumns: options?.expandColumns }
|
1610
1609
|
);
|
1611
|
-
|
1612
|
-
mainStatements.push(result.main);
|
1610
|
+
statements.push(...result.dependencies, result.main);
|
1613
1611
|
this.fields.push(result.loadedFields);
|
1614
1612
|
}
|
1615
1613
|
this.models = modelListWithPresets;
|
1616
|
-
return
|
1614
|
+
return statements;
|
1617
1615
|
};
|
1618
1616
|
formatRows(fields, rows, single) {
|
1619
1617
|
const records = [];
|
package/package.json
CHANGED