@ronin/compiler 0.14.11-leo-ron-1099-1-experimental-347 → 0.14.11-leo-ron-1099-1-experimental-349
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -714,7 +714,7 @@ var compileQueryInput = (defaultQuery, models, statementParams, options) => {
|
|
714
714
|
instructions.orderedBy.descending.push("ronin.createdAt");
|
715
715
|
}
|
716
716
|
}
|
717
|
-
if (instructions && (
|
717
|
+
if (instructions && (typeof instructions.before !== "undefined" || typeof instructions.after !== "undefined")) {
|
718
718
|
if (single) {
|
719
719
|
throw new RoninError({
|
720
720
|
message: "The `before` and `after` instructions are not supported when querying for a single record.",
|
package/package.json
CHANGED