DRYな備忘録

Don't Repeat Yourself.

indexedDB

IndexedDBでauto incrementなユニークキーを使いたい

資料 Using IndexedDB - Web API Interfaces | MDN IDBDatabase.createObjectStore - Web API Interfaces | MDN 問題 objectStoreを使うにあたって、autoIncrementで一意なidっぽいものをつくりたい もちろん、参照できる形で 解決 createObjectStoreメソッ…

IndexedDB Driver "ingoose" (like Mongoose)

What is IndexedDB @see IndexedDB - Web API Interfaces | MDN Why "ingoose" it's very annoying to use indexedDB raw API simplify application code by Mongoose like API Demo anyway You can try how it works here DEMO - ingoose : mongoose like i…

たぶん世界一簡単なIndexedDBのサンプル

WebSQL先輩… localStorageのようなシンプルなkvsじゃなくて、検索を伴うようなブラウザで永続化できるストレージあるかな、そういえばWebSQLってどうなってるんだろう?と思って調べたら、 Developer's blog | HTML5のWeb SQL DatabaseがW3Cの仕様策定の範囲…