Hi.

Try
$c->add(TablePeer::Column1, TablePeer::Column2 . ' ' . Criteria::NOT_EQUAL .
' ' . TablePeer::Column1, Criteria::CUSTOM);

On Thu, Feb 26, 2009 at 22:10, Tomasz Ignatiuk <[email protected]>wrote:

> It is not working. Neither NOT_LIKE nor NOT_EQUAL
>
> 2009/2/26 Jan De Coster <[email protected]>
>
>
>> $c->add(TablePeer::Column1, TablePeer::Column2, Criteria::NOT_LIKE);
>>
>> Or somthing like that ...
>>
>> -----Oorspronkelijk bericht-----
>> Van: [email protected] [mailto:
>> [email protected]]
>> Namens Tomasz Ignatiuk
>> Verzonden: donderdag 26 februari 2009 21:00
>> Aan: symfony users
>> Onderwerp: [symfony-users] Propel - Two columns of a table not_equal
>>
>>
>> Any ideas how to do this?
>>
>> A want a query in propel that gets objects from table1  where
>> table1.column1 <> table1.column2
>>
>>
>>
>>
>>
>
> >
>


-- 
With the best regards, Andy.

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

Reply via email to