couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonysu...@apache.org
Subject [17/17] couchdb-mango git commit: Request an EJSON body when opening documents
Date Wed, 26 Aug 2015 16:39:18 GMT
Request an EJSON body when opening documents


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

Branch: refs/heads/2787-merge-repos
Commit: 8d496c1e8c9b790722385d3af53670999fb99b58
Parents: b2f62f1
Author: Tony Sun <tony.sun@cloudant.com>
Authored: Wed Aug 26 09:35:34 2015 -0700
Committer: Tony Sun <tony.sun@cloudant.com>
Committed: Wed Aug 26 09:35:34 2015 -0700

----------------------------------------------------------------------
 src/mango_util.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mango/blob/8d496c1e/src/mango_util.erl
----------------------------------------------------------------------
diff --git a/src/mango_util.erl b/src/mango_util.erl
index 6b150e7..94265cd 100644
--- a/src/mango_util.erl
+++ b/src/mango_util.erl
@@ -80,7 +80,7 @@
 
 
 open_doc(Db, DocId) ->
-    open_doc(Db, DocId, [deleted]).
+    open_doc(Db, DocId, [deleted, ejson_body]).
 
 
 open_doc(Db, DocId, Options) ->


Mime
View raw message