Re: [Openstack] Conclusion on Pagination (hopefully!) :)

2011-05-27 Thread Devin Carlen
++ That's the right approach! On May 27, 2011, at 9:00 AM, Jay Pipes wrote: > Thanks all for some awesome input on the pagination thread. I wanted > to summarize what I think were the conclusions to come out of it. > Please do let me know if I got it right. > > Proposal: > > 1) Push the LIMIT

Re: [Openstack] Conclusion on Pagination (hopefully!) :)

2011-05-27 Thread Jorge Williams
Jay, +1 on this, however, I would also add linking to the API layer -- as we do in compute 1.1. Links make it supper easy for language bindings to traverse pages -- especially in the case that Thorsten points to, where you want to traverse all items in the collection. In this case, a client

[Openstack] Conclusion on Pagination (hopefully!) :)

2011-05-27 Thread Jay Pipes
Thanks all for some awesome input on the pagination thread. I wanted to summarize what I think were the conclusions to come out of it. Please do let me know if I got it right. Proposal: 1) Push the LIMIT variable into the database API layer 2) Ensure that all queries that return a set of results