CouchDB cheatsheet

Published: September 19, 2020

Cheatsheet for CouchDB


This cheatsheet is a small collection of handy snippets for quick reference in tricky situations. Feel free to suggest edits, propose additions, complain about something, disagree with content or such and the like. Every feedback is a welcome one.
**Assumptions for this article**

Server is available locally on <code>http://localhost:5984/</code>

Database name is <code>mydb</code>

Fetch all documents using CURL

syntax/structure http://localhost:5984/mydb/_all_docs?include_docs=true

Example

curl -X GET http://localhost:5984/mydb/_all_docs?include_docs=true

# If authentication is required
curl -X GET http://admin:password@localhost:5984/mydb/_all_docs?include_docs=true

Christoffer Lybekk

Developer under development

Explore more articles with similar tags

CouchDBDatabaseServerCheatsheet

Article stats


12words

3sentences

3paragraphs

1 minread time