Indexed DB cursor ranges on mulitiple properties
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a composite index of two properties on an indexeddb objectstore and wish to retrieve a cursor based on the range of both of these properties. Here's an example object in the store : {species: 'Oak',xcoord: 123456, ycoord: 654321} and index : treeStore.createIndex("treelocation", ["xcoord","ycoord"], { unique: false }); The index creation is succesful and I can see it in the Chrome developer tools, however now I'd like to open a cursor with a keyrange on both the x and y co-ordinates (which will be the extent of a map). Searching