Re: [IndexedDB] Existence checking

  On 7/5/2010 3:19 AM, Nathan Kitchen wrote:
> There are a couple of ways to do this:
I think you missed one.  IDBDatabase has a property objectStores [1] 
that is an array of object stores.  Additionally, IDBObjectStore has a 
property called indexNames [2] that is an array of indexes for the 
object store.  We should probably look into having the same naming 
convention for both of those (objectStores and indexes or 
objectStoreNames and indexNames probably?).

This accomplishes what you want, right?

Cheers,

Shawn

[1] 
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBDatabase-objectStores
[2] 
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBObjectStore-indexNames

Received on Monday, 5 July 2010 15:44:33 UTC