On 6/24/06, Arthur Clune <[EMAIL PROTECTED]> wrote:
>
> I had a very similar problem. Since I wanted a count not an object
> I found it best to use sqlrepr not View.select()
>

Just a note:  Using Obj.select().count() actually only returns an
integer and the SQL behind it reflects that.  Using the .count()
function doesn't retrieve all the objects, just the number of rows the
selectresults object Obj.select() would retrieve.

-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to