Ff153 Add IDBRecord#44540
Open
hamishwillee wants to merge 2 commits into
Open
Conversation
hamishwillee
commented
Jun 22, 2026
| If the operation is successful, the value of the request's {{domxref("IDBRequest.result", "result")}} property is an {{jsxref("Array", "array")}} of {{domxref("IDBRecord")}} instances representing all the records that match the given query, up to the number specified by `count` (if provided). | ||
|
|
||
| Each object contains the following properties: | ||
| Each {{domxref("IDBRecord")}} instance contains the following properties: |
Collaborator
Author
There was a problem hiding this comment.
FYI I was going to remove the property values below and in the corresponding store method.
However it is useful to list them because in the object strore case they are the same - the store ONLY has the primary key, so this is duplicated in the key field.
hamishwillee
commented
Jun 22, 2026
Comment on lines
+13
to
+14
| The value depends on the request that was made. | ||
| For example, the {{domxref("IDBObjectStore.getAllRecords()")}} and {{domxref("IDBIndex.getAllRecords()")}} methods populate this property with an array of {{domxref("IDBRecord")}} instances on successful completion of the request. |
Collaborator
Author
There was a problem hiding this comment.
FYI If I ever have to do more work here, my intent is to build out this as a list for the different types.
Contributor
|
Preview URLs (5 pages)
External URLs (2)URL:
URL:
|
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FF153 Adds support for
IDBIndex.getAllRecords()andIDBIndex.getAllRecords().Like all read-write methods in IDB these return and
IDBRequestinstance, which on success include the "result" of the request in the results object. For these methods theresultis an array ofIDBRecordobjects.The
IDBRecordis in the IDL as an interface. It is more like a dictionary, but in line with MDN policy I've added it as its own interface and cross linked everywhere.There are a couple of comments inline.
Related docs can be tracked in #44449