Jim Steil schrieb: > Hi: > > > > I’m trying to dynamically build an SQL statement, actually, just the > where clause. I know I’ve seen sample of this using SQLObject > somewhere, but I can’t find them again. I seem to remember seeing > something about adding to a where clause. Can someone help me find what > I’m looking for? I’m happy to elaborate on my needs if what I’ve said > so far doesn’t make enough sense.
You certainly should do that, yes. Generally, its done like this: ModelClass.select(ModelClass.q.property == value) Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

