These internal database relations are not created by CakePHP, really.
If you want your database to faster, you must do it by your own,
creating foreign key indexes.

On 11 abr, 08:40, Lucca Mordente <[email protected]> wrote:
> You really can't create this relation directly on the database. If you
> want your DB to be faster, you must do it by your own, creating
> foreing key indexes.
>
> On Sunday, April 11, 2010, Pablo Vergara B. <[email protected]> wrote:
>
>
>
>
>
> > 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 <[email protected]> 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 sitehttp://cakeqs.organd 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected] for more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en
>
> > To unsubscribe, reply using "remove me" as the subject.
>
> --
> Lucca Mordente

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to