diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-05-23 01:14:13 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-05-23 01:14:13 +0000 |
commit | c41c2168f0bf0c561448962dd7573b272ce3e447 (patch) | |
tree | 696e96764adf520e2b0373c734ed0e912ee2f655 /src/couchdb/couch_doc.erl | |
parent | 0292cbac7611bfa101bae29f31f9723001677752 (diff) |
added an design doc option so that doc._local_seq can be available in the map view. Closes COUCHDB-346
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@777757 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_doc.erl')
-rw-r--r-- | src/couchdb/couch_doc.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_doc.erl b/src/couchdb/couch_doc.erl index 906a5725..f3a003e1 100644 --- a/src/couchdb/couch_doc.erl +++ b/src/couchdb/couch_doc.erl @@ -56,6 +56,8 @@ to_json_meta(Meta) -> {JsonObj, PosAcc - 1} end, Start, RevsInfo), {<<"_revs_info">>, JsonRevsInfo}; + ({local_seq, Seq}) -> + {<<"_local_seq">>, Seq}; ({conflicts, Conflicts}) -> {<<"_conflicts">>, rev_to_strs(Conflicts)}; ({deleted_conflicts, DConflicts}) -> |