On 8/19/06, OriginalBrownster <[EMAIL PROTECTED]> wrote: > but how will I only obtain the keywords column and not the rest of the > database columns?
keywords = [x.keywords for x in Mdata.selectBy(Mdata.q.filedomain=='public')] SQLObject deals with tables a row at a time (I believe, it's been a while). If you want the query itself to only pull back the keywords column, you'll have to use dbapi or something like sqlalchemy that allows lower level access. This request sounds like a premature optimization. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

