Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 107916 IndexedDB: Support IDBObjectStore/IDBIndex.count(key)
Starred by 1 user Project Member Reported by jsb...@chromium.org, Dec 16 2011 Back to list
Status: Fixed
Owner: ----
Closed: Feb 2012
Cc:
Components:
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Restricted
  • Only users with EditIssue permission may comment.


Sign in to add a comment
IDBObjectStore.count() and IDBIndex.count() are spec'd to take an "any" as first parameter. If an IDBKeyRange, operate on the range. Otherwise, if a valid key, operate on just the key (i.e. yield 1 or 0).

The WebKit/Chromium implementation only accepts an IDBKeyRange. This will require binding changes to implement.

See also:

http://crbug.com/92046: IDBObjectStore/IDBIndex.openCursor() should accept key
http://crbug.com/92047: IDBObjectStore/IDBIndex.get() should accept key range
http://crbug.com/101384: IDBObjectStore.delete() should accept key range

 
Comment 1 by jsb...@chromium.org, Feb 10 2012
Summary: IndexedDB: Support IDBObjectStore/IDBIndex.count(key) (was: NULL)
Comment 2 by jsb...@chromium.org, Feb 11 2012
Labels: WebKit-ID-78399
Project Member Comment 3 by bugdroid1@chromium.org, Feb 11 2012
Labels: -WebKit-ID-78399 WebKit-ID-78399-NEW
https://bugs.webkit.org/show_bug.cgi?id=78399
Project Member Comment 4 by bugdroid1@chromium.org, Feb 18 2012
Labels: -WebKit-ID-78399-NEW WebKit-ID-78399-RESOLVED WebKit-Rev-108150
https://bugs.webkit.org/show_bug.cgi?id=78399
http://trac.webkit.org/changeset/108150
Comment 5 by jsb...@chromium.org, Feb 24 2012
Labels: WebKit-iD-79422
Project Member Comment 6 by bugdroid1@chromium.org, Feb 24 2012
Labels: -WebKit-iD-79422 WebKit-ID-79422-ASSIGNED
https://bugs.webkit.org/show_bug.cgi?id=79422
Comment 7 by jsb...@chromium.org, Feb 24 2012
Labels: Mstone-19
Status: Fixed
WebKit patch has landed; should be in the next Canary and M19
Project Member Comment 8 by bugdroid1@chromium.org, Oct 13 2012
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Comment 9 by laforge@google.com, Oct 17 2012
Labels: -Feature-IndexedDB WebKit-Storage-IndexedDB
Project Member Comment 10 by bugdroid1@chromium.org, Mar 10 2013
Labels: -Area-WebKit -Mstone-19 -WebKit-Storage-IndexedDB Cr-Content Cr-Content-Storage-IndexedDB M-19
Project Member Comment 11 by bugdroid1@chromium.org, Mar 14 2013
Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue
Project Member Comment 12 by bugdroid1@chromium.org, Apr 6 2013
Labels: -Cr-Content Cr-Blink
Project Member Comment 13 by bugdroid1@chromium.org, Apr 6 2013
Labels: -Cr-Content-Storage-IndexedDB Cr-Blink-Storage-IndexedDB
Sign in to add a comment