On Wednesday, 16 November 2011 15:55:22 UTC+1, RhythmicDevil wrote:
>
> thanks for the tips man, I appreciate it. 
>
> I will never have to do cascades or anything like that. I am simply 
> creating a JSON string to be sent to our API.


I know - I mean pass the right arguments so you go directly to 
datasource::delete
https://github.com/cakephp/cakephp/blob/master/lib/Cake/Model/Model.php#L2317

Without passing go and without collection $200 :).

AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to