Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6083,15 +6083,19 @@ To <dfn>iterate a cursor</dfn> with |targetRealm|, |cursor|, an optional
* The record's key is [=greater than=] or [=equal to=] |key|.

* If |primaryKey| is defined:
* The record's key is [=equal to=] |key| and the record's value is [=greater than=] or [=equal to=] |primaryKey|
* The record's key is [=greater than=] |key|.
* If the record's key is [=equal to=] |key|:
* The record's value is [=greater than=] or [=equal to=] |primaryKey|
* Else:
* The record's key is [=greater than=] |key|.

* If |position| is defined and |source| is an [=/object store=]:
* The record's key is [=greater than=] |position|.

* If |position| is defined and |source| is an [=/index=]:
* The record's key is [=equal to=] |position| and the record's value is [=greater than=] |object store position|
* The record's key is [=greater than=] |position|.
* If the record's key is [=equal to=] |position|:
* The record's value is [=greater than=] |object store position|
* Else:
* The record's key is [=greater than=] |position|.

* The record's key is [=in=] |range|.

Expand All @@ -6117,15 +6121,19 @@ To <dfn>iterate a cursor</dfn> with |targetRealm|, |cursor|, an optional
* The record's key is [=less than=] or [=equal to=] |key|.

* If |primaryKey| is defined:
* The record's key is [=equal to=] |key| and the record's value is [=less than=] or [=equal to=] |primaryKey|
* The record's key is [=less than=] |key|.
* If the record's key is [=equal to=] |key|:
* The record's value is [=less than=] or [=equal to=] |primaryKey|
* Else:
* The record's key is [=less than=] |key|.

* If |position| is defined and |source| is an [=/object store=]:
* The record's key is [=less than=] |position|.

* If |position| is defined and |source| is an [=/index=]:
* The record's key is [=equal to=] |position| and the record's value is [=less than=] |object store position|
* The record's key is [=less than=] |position|.
* If the record's key is [=equal to=] |position|:
* The record's value is [=less than=] |object store position|
* Else:
* The record's key is [=less than=] |position|.

* The record's key is [=in=] |range|.

Expand Down