Questions tagged as 'doctrine-2'

1
answer

How to make InnerJoin with related table?

Personal I have a class Arquivo that has a ManyToOne relationship with a Usuario class running right. I need to list all the data that is in the Arquivo s class including the relationships. How do I do this in Doctrine? C...
asked by 04.03.2015 / 00:27
0
answers

How do I use the doctrine's entity generator?

I'm trying to use doctrine in a project. but I'm having difficulty getting the entity generator once the database is ready and I would like the doctrine to create entities from it.    bootstrap.php <?php // o Autoload é responsável por...
asked by 01.12.2014 / 11:59
1
answer

Get data from a ManyToMany relationship with Doctrine2

I have the following N: N relationship between the teacher and class tables, where there is a third table teachers_turtle. I want to list all the classes that this teacher teaches ( that is related ), but when I return to the teacher's query,...
asked by 01.12.2014 / 20:46