> Meaning that the way custom queries are built
> (I use currently sqlobject.sqlbuiler, with SA it will probably be
> totally different), the way selects are done ( model.Person.select(
> model.Person.q.name=='Tarzan' ) I assume totally different syntax for
> SA), etc, etc, in other words I'm afraid one has to rewrite every
> single line of code that touches the db.


At least for that above example in SA>=0.4, replace the *select* with *
query.filter* and drop the *q* and you're in business. Of course, there are
other ways to go about it as well but this one should be pretty easy to pick
up.

I don't know too much else about SO's syntax -- I was relatively late to the
Turbogears game so I've been on SA from the start, but I remember an
appendix in in the TG book dealing with just this issue.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to