couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [47/50] fabric commit: updated refs/heads/master to a71701c
Date Thu, 28 Aug 2014 12:21:22 GMT
Add a no-options adapter to all_docs.


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

Branch: refs/heads/master
Commit: 263afe5678ae42c920c7c8a91250770b4bf54e41
Parents: ac81980
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Thu Aug 14 13:56:04 2014 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Fri Aug 15 07:03:30 2014 -0500

----------------------------------------------------------------------
 src/fabric.erl | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/263afe56/src/fabric.erl
----------------------------------------------------------------------
diff --git a/src/fabric.erl b/src/fabric.erl
index dd4f0c6..3bd45b8 100644
--- a/src/fabric.erl
+++ b/src/fabric.erl
@@ -29,8 +29,8 @@
     update_doc/3, update_docs/3, purge_docs/2, att_receiver/2]).
 
 % Views
--export([all_docs/5, changes/4, query_view/3, query_view/4, query_view/6,
-    get_view_group_info/2]).
+-export([all_docs/4, all_docs/5, changes/4, query_view/3, query_view/4,
+    query_view/6, get_view_group_info/2]).
 
 % miscellany
 -export([design_docs/1, reset_validation_funs/1, cleanup_index_files/0,
@@ -233,6 +233,10 @@ purge_docs(_DbName, _IdsRevs) ->
 att_receiver(Req, Length) ->
     fabric_doc_attachments:receiver(Req, Length).
 
+%% @equiv all_docs(DbName, [], Callback, Acc0, QueryArgs)
+all_docs(DbName, Callback, Acc, QueryArgs) ->
+    all_docs(DbName, [], Callback, Acc, QueryArgs).
+
 %% @doc retrieves all docs. Additional query parameters, such as `limit',
 %%      `start_key' and `end_key', `descending', and `include_docs', can
 %%      also be passed to further constrain the query. See <a href=


Mime
View raw message