Re: [SQLObject] Indexed access to a SelectResults
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2003-07-17 00:51:45
|
On Wed, 2003-07-16 at 19:44, Matt Goodall wrote: > The fact that creating the list did not fail implies that it is not > trying to get the length of t. I dunno though, it's very late here so I > may be missing something obvious. list() gets the length if it can, but it doesn't cause a problem if it can't (it catches all exceptions). It took me a while to figure out what was happening, since I made the COUNT(*) raise an exception to see who was calling it, and the exception just disappeared. Ian |