Yo u need to find unbind model : in cakephp document find 
$this->Model->unbind(array('hasMany'=>array('Model'))) 

On Friday, October 12, 2012 3:36:55 PM UTC+5, cosinusweb wrote:
>
> Hello,
>
> I' ve a table "recharge" which contain an id field from an other table.
>
> When I try to delete the linked id from mysql it does not work which is 
> normal because this id is already in use bu if i delete the liked id with 
> cake php the all row from "recharges" is deleted
>
> It s like cake does not take into acount my constraint
>
> Why that ?
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to