- From: Joshua Bell <notifications@github.com>
- Date: Mon, 10 Aug 2015 13:43:14 -0700
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
Received on Monday, 10 August 2015 20:44:08 UTC
Proposed in https://www.w3.org/Bugs/Public/show_bug.cgi?id=28456 by timm@preetz.us: > In one of our apps I would like to store objects like this: { children: [{ id: 'c1' }, { id: 'c1' }] } > > I would like to be able to create an index to quickly find all parents for child 'c1'. > > Sadly an index like "children.id" { multiEntry: true } does not work here. > I would propose something like "children[].id" { multiEntry: true } to indicate, that the children property should be iterated, not their id field. > > Related discussions: > https://social.msdn.microsoft.com/Forums/en-US/dbf2fd2d-a8ca-4228-8a49-3948d44f7e26/indexeddb-and-complex-keypaths-for-index (where Israel Hilerio (MSFT) mentions this should be discussed for IDB v2) > https://github.com/dfahlander/Dexie.js/issues/86 --- Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/issues/35
Received on Monday, 10 August 2015 20:44:08 UTC