Advanced queries with "pouchdb-find"

Asked

Viewed 29 times

0

How to do a search containing using the pouchdb-find? What I have so far is this but it doesn’t work as expected.

db.find(selector: {title: "%" + $scope.pesquisa + "%"})

It is possible to do with the Emit? How would it look?

  • "It doesn’t work as expected" = does not work with a LIKE sql?

  • That’s right, it should be equivalent to a LIKE. I found a way here by passing one callback to the db.query but I still need to test.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.