The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Sander Marechal <san...@prezent.nl>
Date: Wed, 11 Apr 2012 08:44:03 +0200
Local: Wed, Apr 11 2012 2:44 am
Subject: Re: [doctrine-user] Re: Selecting the last element from a joined collection?
On 05-04-12 12:09, Simone Fumagalli wrote:
> Ciao, I had the same problem (in a Symfony2 project) Thanks. Ordering the collection helps, but this still causes the entire collection to be loaded > public function getLastUser() I think using an EXTRA_LAZY association helps when using this instead: > { > return $this->users->first(); > } return $this->users->slice(0, 1); -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||