Hi Paul
On 12 January 2015 at 22:07, 'paul kendal' via doctrine-user <
[email protected]> wrote:
>
> Hi Marco
>
> i am a bit confused. if i understand you correctly. the doctrine pagintor
> will not work if i do this:
>
> SELECT u,name, u,city from USERS
>
> The only way the pagintor will work is if i select all the properties of
> the class i.e:
>
> SELECT u from USERS
>
>
> if so, then how can i reduce my overhead. in my users class i have over 20
> properties. i now have thousands of members in the database. i therefore
> need to find a way to reduce costs when i make a query on the database
>
It should work, as long as the identifiers are part of the selection:
SELECT u.id, u.name, u.city FROM User u
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.