Doctrineprovidestworelationoperators:'.'akadotand':'akacolon.Thedot-operatorisusedforSQLLEFTJOINsandthecolon-operatorisusedforSQLINNERJOINs.BasicallyyoushouldusedotoperatorifyouwantforexampletoselectallusersandtheirphonenumbersANDitdoesn't matter if the users actually have any phonenumbers.On the other hand if you want to select only the users which actually have phonenumbers you should use the colon-operator.<code type="php">$query->from('Useru')->innerJoin('u.Emaile');$query->execute();// executed SQL query:// SELECT ... FROM user INNER JOIN email ON ...$query->from('Useru')->leftJoin('u.Emaile');$query->execute();// executed SQL query:// SELECT ... FROM user LEFT JOIN email ON ...</code>