aaronpowell/db.js — pull request #7 by aaronpowell (2012-10-03 01:13:30+00:00)
Title: Add custom keys

Currently db.js doesn't have support for using a custom key generator. This will add that support.

If no key path is provided a _hidden_ property will be added to the records which contains the key created by IndexedDB called `__id__`. The property is read-only and non-enumerable so it's pretty much hidden ;)