[web2py] Re: DAL response limit

2018-03-08 Thread Arve Lømsland
Yepp, thanx. I found it in the book and changed the number in rest.py. torsdag 8. mars 2018 17.06.49 UTC+1 skrev Anthony følgende: > > The "vars" argument to parse_as_rest() can include "offset" and "limit" > keys, which default to 0 and 1000, respectively. > > If you want to return all records,

[web2py] Re: DAL response limit

2018-03-08 Thread Anthony
The "vars" argument to parse_as_rest() can include "offset" and "limit" keys, which default to 0 and 1000, respectively. If you want to return all records, you can add "limit" to the URL query string: /myapp/controller/api?limit=[very large number] or just update the "vars" dictionary within t