yathit / ydn-db

Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
Apache License 2.0
503 stars 41 forks source link

two, ... indexs multiEntry #34

Open zirill opened 9 years ago

zirill commented 9 years ago

hello, how you can implement a request?

shema = { stores: [{ names: 'table1', keyPath: 'id', indexes[ { keyPath: 'tag1', multiEntry: true },{ keyPath: 'tag2', multiEntry: true } ] }] }

WHERE tag1 = 1 and tag2 = 2

Tried and failed: where().where() and Nested-loop join

yathit commented 9 years ago

That part is not finish yet.