Skip to content
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

Search with multiple fields or selectors #80

Open
sahiliotasol opened this issue May 12, 2017 · 1 comment
Open

Search with multiple fields or selectors #80

sahiliotasol opened this issue May 12, 2017 · 1 comment

Comments

@sahiliotasol
Copy link

sahiliotasol commented May 12, 2017

Hi
I am not able to search with multiple fields like (name,description) by using this plugin as we can do with pouchdb-find plugin but that plugin is also not working as relation-pouch is saving data in one field in JSON form.

is there any way to do it ?

@509dave16
Copy link

@sahiliotasol You will need to create indexes and use the pouchdb-find plugin. And then pass the data to relational pouch using the parseRelDocs method: https://github.com/pouchdb-community/relational-pouch#dbrelparsereldocstype-pouchdocs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants