I noticed if I use the select method of a model object it appears to
return an SQL query..... it is only when I convert the result to a
list that I get model objects?

e.g. my_objects = list( my_app.model.MyClass.select() )

This is pretty slick/clever.  Anyone got any details of what is going
on?

It appears the list type conversion does a lot of work I'm surprised
it does.

Chris
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to