@ronin/compiler
Advanced tools
Comparing version 0.11.5 to 0.11.6
@@ -1602,4 +1602,3 @@ // src/utils/helpers.ts | ||
}); | ||
const dependencyStatements = []; | ||
const mainStatements = []; | ||
const statements = []; | ||
for (const query of queries) { | ||
@@ -1612,8 +1611,7 @@ const result = compileQueryInput( | ||
); | ||
dependencyStatements.push(...result.dependencies); | ||
mainStatements.push(result.main); | ||
statements.push(...result.dependencies, result.main); | ||
this.fields.push(result.loadedFields); | ||
} | ||
this.models = modelListWithPresets; | ||
return [...dependencyStatements, ...mainStatements]; | ||
return statements; | ||
}; | ||
@@ -1620,0 +1618,0 @@ formatRows(fields, rows, single) { |
{ | ||
"name": "@ronin/compiler", | ||
"version": "0.11.5", | ||
"version": "0.11.6", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Compiles RONIN queries to SQL statements.", |
462591
7794