* Michael Bayer [2006-03-22 16:38]: > mapper.select() takes a limit and offset parameter: > > http://www.sqlalchemy.org/docs/ > adv_datamapping.myt#adv_datamapping_limits > > also Ben Bangert I think has some widget hes using with Pylons that > does this same thing with SQLAlchemy in a configurable way.
You might just be able to grab this lib if you need pagination: http://www.pylonshq.com/project/pylonshq/browser/WebHelpers/trunk/webhelpers/pagination/ It's used in lib/generics.py: View.list() http://groups.google.com/group/pylons-discuss/msg/3a174f5f1ae968b2 in the attachment to the above link/post. -- ________________________________ toddgrimason*todd[ at ]slack.net ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users