- From: <bugzilla@jessica.w3.org>
- Date: Fri, 26 Apr 2013 00:53:18 +0000
- To: public-webapps@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21836 Bug ID: 21836 Summary: Remove NotSupportedError on creating index for multiEntry index with array keyPath Classification: Unclassified Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: Indexed Database API Assignee: dave.null@w3.org Reporter: kyawtun@yathit.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, public-webapps@w3.org In creating index, the specification state that: "If keyPath is and Array and the multiEntry property in the optionalParameters is true, then a DOMException of type NotSupportedError must be thrown." However it is unnecessary. multiEntry is no different than non-multiEntry index value, except the reference value is repeated. This specification limit generalizes usage of composite index for key joining algorithm. Composite index with multiEntry is very useful, like modelling graph data and many-to-many relationship. Currently query on such model are limited to single index. It is also very unlikely that web developer will use excessive indexing. Discussion on: http://lists.w3.org/Archives/Public/public-webapps/2013AprJun/0379.html -- You are receiving this mail because: You are on the CC list for the bug.
Received on Friday, 26 April 2013 00:53:19 UTC