Yet another suggestion,
Today's web.select() returns itterBetter object which behave as
forward-only. This behaviour has advantages and disadvantages (e.g.
accessing the database more than once for the same record-set such as
calling len(list(we.select(...))) for a counter).
May that behaviour can be customized upon function call:
web.select(view_name, where = x, order = y, autoDispose=False)
{
PS
current.web.select() == new.db.select()
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---