symfony - Symfony2 combine entities in a query -


heelo guys!

i have problem when try "union" 2 tables in symfony2 project. i'll try mix 2 entities in 1 query. example, have 2 entities: "games" , "films" (the 2 columns totally independents), , users can rate it. well, problem comes when try put in rating list 2 entities, because need join 2 tables obtain information , keep ordered according votes.

can tell me correct way focus problem?

many thanks!


Comments

Popular posts from this blog

Issues changing the value of an element in an array in matlab -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

vb.net - Alternative to the T-SQL AS keyword -