Hi,
I'm trying to understand when I should use each method for querying things.
Criteria seem that they should be used on DoctrineCollections. Now, when I
use getRepository("entityName"), I can call a $repo->matching() method
using Criteria. I can also use a QueryBuilder with the repository.
Another problem would be that I don't understand the differences between
$criteria->where
$criteria->andWhere
$criteria->orWhere
and
$expression->orX
$expression->andX
Is there a good tutorial on using this?
Anybody got any pointers?
--
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 https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.