WireBootstrap IndexedDB Connector - Collections
In addition to being the service provider for a WireBootstrap data soruce, the WireBootstrap for IndexedDB Connector can also be used directly as a collection to access
object repositories in IndexedDB database stores.
Initialize Store
const col = new wire.indexedDb("name", [array of fruit]);
Store Put
await col.put({ name: "oranges", color: "orange"});
Store Get
const fruit = await col.get("grapes");
Store Delete
await col.delete("bananas");