From 0a4563a280f5ddc2b40f1a66a923e143f8434bc4 Mon Sep 17 00:00:00 2001 From: stelar7 Date: Wed, 15 Oct 2025 16:45:01 +0200 Subject: [PATCH] Adjust how the direction is defaulted in "Creating a request to retrieve multiple items" --- index.bs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.bs b/index.bs index 88bbfeb..d88b3cc 100644 --- a/index.bs +++ b/index.bs @@ -5629,14 +5629,12 @@ To create a [=request=] to retrieve multiple items from an [=object s 1. Let |range| be a [=key range=]. -1. Let |direction| be a [=cursor/direction|cursor direction=]. +1. Let |direction| be "{{IDBCursorDirection/next}}". 1. If running [=is a potentially valid key range=] with |queryOrOptions| is true, then: 1. Set |range| to the result of [=/converting a value to a key range=] with |queryOrOptions|. Rethrow any exceptions. - 1. Set |direction| to "{{IDBCursorDirection/next}}". - 1. Else: 1. Set |range| to the result of [=/converting a value to a key range=] with |queryOrOptions|["{{IDBGetAllOptions/query}}"]. Rethrow any exceptions.