later, i did this.

$q->getSqlQuery() to get query generated by doctrine, and run it on
mysql , it returns correct result.

i think this is a doctrine problem. just do not have time to debug
doctrine source.



On Wed, Mar 17, 2010 at 12:37 PM, chris burgess <[email protected]> wrote:
> On Wed, Mar 17, 2010 at 12:08 PM, anru chen <[email protected]> wrote:
>> I have met a strange problem, if i am use raw sql , the return results
>> are right,
>> if i am use $q = Doctrine_Query::create()
>>           ->select(...)  , return results are wrong.
>
> Do the queries match in MySQL's query log, or do they differ?
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to