I have some couchDB
database.
and i want, as in mongodb
, find one item.
something like db.find({user : "John"})
That the easiest way to do it?
Try this URL: http://localhost:5984/_utils/, it will open FUTON editor. Show activity on this post. CouchDB is a NOSQL database. So it works using HTTP requests (url based).
CouchDB has the simple structure of HTTP resources and methods (GET, PUT, DELETE) that are easy to understand and use. In CouchDB, data is stored in the flexible document-based structure so, there is no need to worry about the structure of the data.
If you have your queries predefined, you can use views to query your database.
There is also the ability to use temporary views for ad-hoc searches, but they are never recommended for production use because the index is not saved.
If you need something more along the lines of full-text search, check out couchdb-lucene.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With