We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fc7e6b commit d5f7140Copy full SHA for d5f7140
packages/db/src/query/effect.ts
@@ -1241,7 +1241,10 @@ function findFirstChangeAfterCursor(
1241
if (cursor === undefined) {
1242
continue
1243
}
1244
- if (lastCursor !== undefined && compareCollectionCursors(cursor, lastCursor) < 0) {
+ if (
1245
+ lastCursor !== undefined &&
1246
+ compareCollectionCursors(cursor, lastCursor) < 0
1247
+ ) {
1248
throw new Error(
1249
`Cursors within a sync batch must be monotonically ordered. ` +
1250
`Saw ${String(cursor)} after ${String(lastCursor)}.`,
0 commit comments