[EMAIL PROTECTED] wrote:
> Its maybe fewer lines of code to just code for mysql or something
> better or worse
> sql = "SELECT * FROM que WHERE  user_id = %d ORDER BY time" %
> self.userid
>         rws = cu.execute(sql)
> a= cu.fetchmany(number) **
>
> for x in a: # id,userinfo,etc
>             b.add(x[1]) #id,userinfo
>
> I know que in a db? Yikes defeats the purpose unless you want
> relational que

I like this kind of approach and if there is a way for
SQLObject/SQLAlchemy to map a class to a SELECT statement or stored
procedure, it would be very nice. As that would handle the type
conversion stuff automatically.


--~--~---------~--~----~------------~-------~--~----~
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