Doctrine Query Language (DQL) is an Object Query Language created for helping users in complex object retrieval.
I have an entity that looks like this: /** * @Gedmo\Tree(type="nested") * @ORM\Table(name="categories") * @ORM\Entity() */ class Category …
symfony doctrine-orm dqlI am developing an application using Symfony2 and doctrine 2. I would like to know how can I get the currently …
symfony doctrine-orm dqlI losted trilion hours google this but none of the solutions were good. I have this querybuilder: $qb2=$this->…
doctrine dql query-builderHere is how I query my database for some words $query = $qb->select('w') ->from('DbEntities\Entity\…
php doctrine-orm dqlI have a problem while trying to USE QueryBuilder OR DQL. I have the following relation: User <-1:n-&…
php symfony doctrine dql query-builderIn my Repository class I use the following code to query: $query = $this->getEntityManager()->createQuery(" SELECT s.…
php doctrine doctrine-orm dqlI build a form with entity type like this: $form = $this->createFormBuilder() ->add('users', 'entity', array( 'class' =&…
symfony entity dqlThis should be simple but I can't find a working example. Here's a controller method that throws the error "Invalid …
symfony doctrine-orm doctrine query-builder dql