-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement query() and adding/removing indexes #3
Comments
I'd like to explicitly expose some methods like:
Or something like that. |
👍 It would be great. |
Actually nowadays it may make more sense to just directly plug into |
I tried using pouchdb-find along side this plugin but since this one uses a "smart" ID for the document, pouchdb-find has trouble retrieving docs. I could have added the deserialize logic from this plugin but it turned out to be easier to work with the code without using both, so I just stuck with find. |
@wujitouch Yeah, I think pouchdb-find integration needs to be implemented within this plugin itself. |
I added parseRelDocs in my PR #61 which I needed for my own find query. Thought it might be a good idea to expose this to the outside. One extra problem i realised when looking at the filters was that db.find in pouchdb-find does not filter on types. So filtering on an attribute So maybe it is better to make our own version of the query and index functions, since we might also want to include the id between filter to select only documents of a certain type. |
This is another Ember Data thing that we don't support yet. (query(), anyway).
The text was updated successfully, but these errors were encountered: