Re: [IndexedDB] Key generation details

2012-01-25 Thread Joshua Bell
On Wed, Jan 25, 2012 at 3:05 PM, Israel Hilerio wrote: > On Wednesday, January 25, 2012 12:25 PM, Jonas Sicking wrote: > > Hi All, > > > > Joshua reminded me of another thing which is undefined in the > specification, > > which is key generation. Here's the details of how we do it in Firefox: > >

RE: [IndexedDB] Key generation details

2012-01-25 Thread Israel Hilerio
On Wednesday, January 25, 2012 12:25 PM, Jonas Sicking wrote: > Hi All, > > Joshua reminded me of another thing which is undefined in the specification, > which is key generation. Here's the details of how we do it in Firefox: > > The key generator for each objectStore starts at 1 and is increase

[IndexedDB] Key generation details

2012-01-25 Thread Jonas Sicking
Hi All, Joshua reminded me of another thing which is undefined in the specification, which is key generation. Here's the details of how we do it in Firefox: The key generator for each objectStore starts at 1 and is increased by 1 every time a new key is generated. Each objectStore has its own ke