How to use the lib section of a Design Document in CouchDB 0.11
- by fuzzy lollipop
I want to add some custom javascript functions to my design document, I can't find any examples of how to actually add these functions to the "lib" section of a design document. Can someone show me an example of how to add a function definition to the "lib" section?