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

Restrict on iterators #60

Closed holbrookab closed 9 years ago

holbrookab commented 9 years ago

Hi. Very helpful library, thank you!

In this link: https://dev.yathit.com/api/ydn/db/iterator.html

There is mention of a restrict() function, however when I try and use it, the function is not found. Is there a particular module I need to enable that functionality?

yathit commented 9 years ago

Thanks, it was a old method, now I have remove from the API doc.

The new way is to use key joining.