Posts: 107
Threads: 34
Joined: Jun 2011
Reputation:
0
Hi guys after orm systems was released i have one question about sql "AND" and "OR" how they should look like in orm systems?
Posts: 107
Threads: 34
Joined: Jun 2011
Reputation:
0
i know how to use single one parameter but when i need two or three so how about that?
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
I'm not quite sure what are you talking about. If you fire your own queries, and then use orm_apply_cache, you have full control over where statements in queries.
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
That's what I was talking about. Now when you pass callback to mysql_tquery, simply use inside it orm_apply_cache.