Get Doctrine Relationships in DQL?

I had my relationships wrong. I had to do the following and I was able to have Doctrine automatically build correct relationships without having to use DQL (So I could go $user->UserProjects or $project->UserProjects) Project: columns: id: type: integer primary: true autoincrement: true ... authorId: integer ... relations: User: local: authorId foreign: id Users: foreignAlias: Projects class: User refClass: UserProjects User: columns: id: type: integer primary: true autoincrement: true ... UserProjects: columns: id: type: integer primary: true autoincrement: true user_id: integer project_id: integer relations: Project: foreignAlias: UserProjects User: foreignAlias: UserProjects.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions