Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow create design documents from IO and String
Change-Id: I125b377d76c2b3bdce422a26df21e62e3b0c9718 Reviewed-on: http://review.couchbase.org/9276 Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com> Reviewed-by: Matt Ingenthron <matt@couchbase.com>
- Loading branch information
Showing
5 changed files
with
126 additions
and
11 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"_id": "_design/test_it_creates_design_doc_from_io", | ||
"language": "javascript", | ||
"views": { | ||
"all": { | ||
"map": "function(doc){ if(doc.msg){ emit(doc._id, doc.msg) } }" | ||
} | ||
} | ||
} |
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
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