Re: [w3c/IndexedDB] Allow expressions in addition to keyPaths when creating indexes (#33)

The "result" is a key, which (in Indexed DB) is a number, date, string, binary (proposed!), or array-of-key. See https://w3c.github.io/IndexedDB/#key-construct. Boolean is not supported (but see #76).

There's no requirement that keys within a store or index have the same type or "shape", so your example is valid.





---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/33#issuecomment-227591597

Received on Tuesday, 21 June 2016 22:29:19 UTC