@ronin/compiler 0.16.2-leo-ron-1099-1-experimental-367 → 0.16.2-leo-ron-1099-1-experimental-368

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -860,7 +860,7 @@ var composeFieldValues = (models, model, statementParams, instructionName, value
860
860
  );
861
861
  const collectStatementValue = options.type !== "fields";
862
862
  const symbol = getQuerySymbol(value);
863
- let conditionMatcher = "=";
863
+ let conditionMatcher = instructionName === "to" ? "=" : getMatcher(value, false);
864
864
  let conditionValue = value;
865
865
  if (options.condition) {
866
866
  [conditionMatcher, conditionValue] = WITH_CONDITIONS[options.condition](value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.16.2-leo-ron-1099-1-experimental-367",
3
+ "version": "0.16.2-leo-ron-1099-1-experimental-368",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {