Looking through the README it doesn't look there is a way to create design docs with Nano? What are others doing for this?
Node.js – How do create couchdb design docs with Nano in Node.js
couchdbcouchdb-nanonode.js
Related Topic
- Javascript – How to decide when to use Node.js
- Node.js – How to exit in Node.js
- Javascript – the purpose of Node.js module.exports and how do you use it
- Node.js – How to do Base64 encoding in Node.js
- Node.js – How to update each dependency in package.json to the latest version
- Iphone – How to adding custom views around a UITableView
- Iphone – remove all objects from a uiview
- Question regarding Lucene scoring
Best Answer
Simply use the
db.insert
function.Here's a more complete example (from tests/view/query):
If you are interested in learning some more check this sample or go on and read the CouchDB Guide