Content-Length: 260315 | pFad | https://github.com/w3c/IndexedDB/issues/26

B3 Add getKey to IDBObjectStore · Issue #26 · w3c/IndexedDB · GitHub
Skip to content

Add getKey to IDBObjectStore #26

@inexorabletash

Description

@inexorabletash

For performance, as well as symmetry with IDBIndex, add getKey() to IDBObjectStore

  • You can probe a single key with get(key) but pay the cost to transport/deserialize the value and don't know which key in a range was found
  • You can check a range with count(query), but also don't find out the exact key
  • You can do openCursor(query) and simply not continue the cursor, with minor overhead cost

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/w3c/IndexedDB/issues/26

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy