surely you can pass ?limit= through the list function to the view call? list is 'just' for transforming the output of a view call to another form.
B. On Mon, Jan 10, 2011 at 9:22 AM, Michel Legnered <[email protected]> wrote: > How about something like this: > > var row, limit = 10; > while(row = getRow() && limit-- != 0) { > send(row.value); > } > > Miche > > On Sun, Jan 9, 2011 at 9:11 PM, Chris Johnson <[email protected]> wrote: > >> I have a large database which I have written a list that sorts based on >> value. I know when using the views, you can control the amount of data that >> is returned using limit (?limit=10). If I use this in my query, it limits >> the data that is handed to the list from the view. Is there a way to limit >> the data that is returned from the list? >> >> Thanks >> Chris >> > > > > -- > Code: github.com/antics > Words: blog.legnered.com > Wisdom: log.legnered.com >
