<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16595</bug_id>
          
          <creation_ts>2012-04-01 21:01:37 +0000</creation_ts>
          <short_desc>Ability to get non-sequential records from various operations</short_desc>
          <delta_ts>2015-05-23 00:15:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Indexed Database API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonas Sicking (Not reading bugmail)">jonas</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>jsbell</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66320</commentid>
    <comment_count>0</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2012-04-01 21:01:37 +0000</bug_when>
    <thetext>Basically the idea is to be able to get several distinct keys from for example a objectStore.get operation.

This is especially interesting for index.get since it would remove the need for authors to remove duplicate records.

Not sure if the answer is to allow passing multiple keys to an IDBKeyRange constructor, or if the answer is allowing objectStore.get/index.openCursor etc to take an array of keys+IDBKeyRanges.

Filing this for consideration for v2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87740</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2013-05-15 21:52:50 +0000</bug_when>
    <thetext>We had a get-together with google on a variety of topics and this bug was discussed. General feelings was that this wasn&apos;t urgent.

https://docs.google.com/document/d/1vvC5tFZCZ9T8Cwd2DteUvw5WlU4YJa2NajdkHn6fu-I/edit?usp=sharing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119816</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2015-04-23 16:01:41 +0000</bug_when>
    <thetext>We&apos;re thinking of tackling this with a combination of two new entry points:

IDBObjectStore/IDBIndex#getAll(keys [, count]) - implemented in FF, WIP in Chrome

IDBKeySet - a set (*gasp*!) of keys.

getAll() and existing methods that take a key-or-range would be extended to take key-or-range-or-set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120439</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2015-05-23 00:15:20 +0000</bug_when>
    <thetext>Now tracked as https://github.com/w3c/IndexedDB/issues/19</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>