You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2015/02/03 16:13:11 UTC

[04/50] [abbrv] couchdb-mango git commit: Change the default limit to effectively unlimited

Change the default limit to effectively unlimited

This just does the same hack as views by setting the default limit value
extremely high to mimic unlimited.


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

Branch: refs/heads/master
Commit: b5206e5def84972c1fed7ac3fe1785b9c743dae9
Parents: 29dc32c
Author: Paul J. Davis <pa...@gmail.com>
Authored: Tue Jun 24 15:13:08 2014 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Tue Jun 24 15:13:08 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/couchdb-mango/blob/b5206e5d/src/mango_opts.erl
----------------------------------------------------------------------
diff --git a/src/mango_opts.erl b/src/mango_opts.erl
index 84ead8d..44426db 100644
--- a/src/mango_opts.erl
+++ b/src/mango_opts.erl
@@ -60,7 +60,7 @@ validate_find({Props}) ->
         {<<"limit">>, [
             {tag, limit},
             {optional, true},
-            {default, 25},
+            {default, 10000000000},
             {validator, fun is_non_neg_integer/1}
         ]},
         {<<"skip">>, [