couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject [32/50] [abbrv] couchdb commit: updated refs/heads/1.6.x to d2ac597
Date Tue, 01 Apr 2014 17:42:14 GMT
put back JSON return value in collation example

Originally removed in 0f7be287d6a9358d960beb17b16ad7b5e20bd360


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/bea5c947
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/bea5c947
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/bea5c947

Branch: refs/heads/1.6.x
Commit: bea5c947d1c832f0054ae5d22376ebfbf37a366c
Parents: 35a0303
Author: BigBlueHat <byoung@bigbluehat.com>
Authored: Tue Mar 25 16:45:28 2014 -0400
Committer: BigBlueHat <byoung@bigbluehat.com>
Committed: Tue Mar 25 16:45:28 2014 -0400

----------------------------------------------------------------------
 share/doc/src/couchapp/views/collation.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/bea5c947/share/doc/src/couchapp/views/collation.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/couchapp/views/collation.rst b/share/doc/src/couchapp/views/collation.rst
index 06c4c6d..9c2f5c7 100644
--- a/share/doc/src/couchapp/views/collation.rst
+++ b/share/doc/src/couchapp/views/collation.rst
@@ -28,7 +28,7 @@ property serves as the key, thus the result will be sorted by ``LastName``:
 
   function(doc) {
     if (doc.Type == "customer") {
-      emit(doc.LastName, null);
+      emit(doc.LastName, {FirstName: doc.FirstName, Address: doc.Address});
     }
   }
 


Mime
View raw message