No, I'm the one that has quoted Jorge.
He misunderstood me in the other post, and then, I think, I
misunderstood his answer.
What I should have said initially was that I was looking for a way to
find all questions that contained the word 'tree.' What I said was
that I was looking for a way to do this: "select * from Question where
Question.question like '%tree%'"
It took me a long time to figure out a way to do this with SO:
result = Question.select(Question.q.question.contains('tree'))
His response to me was to tell me that I should not be thinking in
terms of sql queries. What I thought he was saying was that I should
not be using SQLBuilder to help me get info out of the database
because it was not "the ORM way."
It seemed he was saying that SQLBuilder was tacked on to SO because so
many people just kept "thinking in sql" instead of thinking "the ORM
way." That is why I posted my question here - I was confused and
thinking that I must be doing something wrong.
Now it looks as though it is OK to use SQLBuilder, or at least other
people use it or recommend using it. And I've learned a completely
new way of searching for stuff, thanks to Leandro.
Hopefully this clears up the misquotted thing - I didn't do it
intentionally, I was just very confused by what Jorge said.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---