Thanks,

i think i try find and read. After that i compare the performance. If
everyone had some more informations, please post it here

Marcus

On 25 Feb., 19:13, "Dr. Loboto" <[email protected]> wrote:
> They both ends with regular find. You can just check source.
>
> On Feb 25, 9:02 pm, amarradi <[email protected]> wrote:
>
> > Hello,
>
> > i have an question to the performance of an statement. Which is better
> > in the view of the performance.
> > The first way i use was this.
>
> >  $entry = $this->WishlistEntry->read(null, $this->data['WishlistEntry']
> > ['wishlist_entry_id']);
> > in the next step of my programming evolution i found findById.
>
> >  $entry = $this->MyModel->findById($this->data['MyModel']
> > ['entry_id']);
>
> > What are the difference between this tow lines of code. Which is
> > better for the performance
>
> > many greetings
> > marcus radisch

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