Is it possible to get only the target dataset (like records 20 to 30)?
It can be very memory consuming?

There is any example out there about paginator+sqlalchemy?

Blaise

On Mar 13, 10:30 am, "Mike Orr" <[EMAIL PROTECTED]> wrote:
> I have an example of Paginator + SQLAlchemy at work, but I'm at PyCon
> now so I can't access it.  But the gist is, you get a SQLAlchemy query
> object covering the entire dataset (all pages), and instantiate the
> paginator with it. There's another argument to set the number of
> records per page.
>
> Then in your template, you iterate the paginator to get the records to
> display.  You put the navigator on the top and/or bottom of the page
> as you wish.  I don't have the sytax with me but it's clear from the
> source.
>
> --
> Mike Orr <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to