CouchDB – Quick Guide CouchDB – Introduction Database management system provides mechanism for storage and retrieval of data. There are three main types of database management systems namely RDBMS (Relational Database management Systems), OLAP (Online Analytical Processing Systems) and NoSQL. RDBMS RDBMS stands for Relational Database Management System. RDBMS is the basis for SQL, and […]
Category Archives: couchdb
CouchDB – Deleting a Database Deleting a Database using cURL Utility You can delete a database in CouchDB by sending a request to the server using DELETE method through cURL utility. Following is the syntax to create a database − $ curl -X DELETE http://127.0.0.1:5984/database name Using −X we can specify a custom request method […]
CouchDB – Updating a Document Updating Documents using cURL You can update a document in CouchDB by sending an HTTP request to the server using PUT method through cURL utility. Following is the syntax to update a document. curl -X PUT http://127.0.0.1:5984/database_name/document_id/ -d ”{ “field” : “value”, “_rev” : “revision id” }” Example Suppose there […]