- From: Joshua Bell <notifications@github.com>
- Date: Thu, 23 Mar 2017 16:54:16 -0700
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 March 2017 23:55:11 UTC
(Note that this example dates back to the 1.0 version of the spec.) `isbn` is used as the primary key; it is inherently unique. Making `title` unique is a bit contrived - titles are not unique in the real world - but is explicitly called out in the introduction to the example ("This index can be used to look up books by title, and enforces a uniqueness constraint") If you'd like to rework the examples with alternate properties and data, covering the same set of API usage, PRs welcome. -- 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/181#issuecomment-288895042
Received on Thursday, 23 March 2017 23:55:11 UTC