Created
March 5, 2015 16:58
-
-
Save tdantas/615038b741588288ce60 to your computer and use it in GitHub Desktop.
filter couch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H 'Content-Type: application/json' -X PUT http://localhost:5984/DATABASE/_design/NAME -d \ | |
'{ | |
"filters":{ | |
"filterName":"function(doc, req) { | |
return true; | |
}" | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment