@ronin/compiler 0.17.3-ben-ron-1099-experimental-381 → 0.17.4-corny-ron-1099-experimental-382
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.
- package/dist/index.js +10 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1987,11 +1987,16 @@ var transformMetaQuery = (models, dependencyStatements, statementParams, query,
|
|
1987
1987
|
statementParts.push("WHEN", `(${withStatement})`);
|
1988
1988
|
}
|
1989
1989
|
const effectStatements = trigger.effects.map((effectQuery) => {
|
1990
|
-
return compileQueryInput(
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1994
|
-
|
1990
|
+
return compileQueryInput(
|
1991
|
+
QUERY_SYMBOLS.QUERY in effectQuery ? effectQuery[QUERY_SYMBOLS.QUERY] : effectQuery,
|
1992
|
+
models,
|
1993
|
+
null,
|
1994
|
+
{
|
1995
|
+
returning: false,
|
1996
|
+
parentModel: existingModel,
|
1997
|
+
inlineDefaults: options.inlineDefaults
|
1998
|
+
}
|
1999
|
+
).main.statement;
|
1995
2000
|
});
|
1996
2001
|
statementParts.push("BEGIN");
|
1997
2002
|
statementParts.push(`${effectStatements.join("; ")};`);
|
package/package.json
CHANGED