couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [04/50] [abbrv] couchdb-mango git commit: Change the default limit to effectively unlimited
Date Tue, 03 Feb 2015 15:13:11 GMT
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 <paul.joseph.davis@gmail.com>
Authored: Tue Jun 24 15:13:08 2014 -0500
Committer: Paul J. Davis <paul.joseph.davis@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">>, [


Mime
View raw message