How do you actually can use database CASCADE deleting method when no
"real" relations are made into the database diagram? (Because
relations are handled internally by cakePHP)

I'm still a novice about cakePHP so I can be wrong... or not. Let's
wait for a advanced user to answer both questions :).

Inf fact (if we could) the database engine deleting/updating option
(using CASCADE for instance) would be the fastest way to do this.

Greetings and sorry if my english is not too good plz, I'm from a
spanish speaking country...

On Apr 10, 12:45 pm, Mateusz Kaczanowski <kangu...@gmail.com> wrote:
> Hi guys,
>
> In CakePHP we delete related records by dependency in model. Which way us
> better
>
> 1. Set up CASCADE in innodb mysql database
> 2. Use dependent in cakePHP model
>
> "Better" - I mean faster , safer .
>
> Thanks for answers

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to