g7s / aye-db

ClojureScript wrapper for IndexedDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples?

chuckberrypi opened this issue · comments

Hi, my JavaScript interop-fu isn't as strong as it could be, so going back and forth between source for your library and the indexedDB docs has been giving me a headache, especially since a lot of what one has to do is only doable in the upgrade callback, meaning that plinking around on the REPL till something works isn't an option. After really spinning my wheels trying to use usb directly, your library has finally got me thinking I can make something work, but I would benefit a ton from a full example showing how I can create a db with an object store, how I can create indexes for that store, and how I can then get values out of the db. (You already cover putting stuff in) Thanks!