This example is in Ionic V4 and Angular, and tests the db.find() method of PouchDB. It filters a list by the selected checkboxes, using the $or operator.
UI: list.page.ts
Service calls: database.service.ts
PouchDB documentation: https://pouchdb.com/api.html#query_index
CouchDB selector syntax: http://docs.couchdb.org/en/stable/api/database/find.html#selector-syntax
Ionic V4 starter template used: https://ionicframework.com/docs/angular/your-first-app#create-an-app ('sidemenu' starter template)
- Install Angular: https://angular.io/guide/setup-local
- Install Ionic: https://ionicframework.com/docs/angular/your-first-app
- Clone this repo and cd into its root folder
npm installionic serve