Did you get any error message?

On Mon, Sep 14, 2009 at 9:44 AM, HAUSa
<[email protected]> wrote:
>
> I tried that, that was my "helas no difference" answer.
> But besides that, I also tried the '5' instead of 'rank=rank+1'
> update, but also that didn't work.
>
> My code now:
> $oConnection = Propel::getConnection();
>
> $oSelectCriteria = new Criteria();
>
> $oUpdateCriteria = new Criteria();
> $oUpdateCriteria->add(EstatePeer::RANK, '5');
>
> BasePeer::doUpdate($oSelectCriteria, $oUpdateCriteria, $oConnection);
>
>
> On 13 sep, 23:35, Gábor Fási <[email protected]> wrote:
>> This criteria means: all records, that have a star as their ID. Try
>> Sid's modification, so an empty criteria, that means all records.
>>
>> On Sun, Sep 13, 2009 at 23:14, HAUSa
>>
>> <[email protected]> wrote:
>> > $oSelectCriteria->add(EstatePeer::ID, '*'); //all records
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
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