1
But once I get caught using Doctrine.
I wanted to do it:
SELECT c.nm_computador, c.te_ip_computador, log.usuario, log.data
FROM computador c
INNER JOIN log_user_logado log ON c.id_computador = log.id_computador;
but I do so:
$query = $this->createQueryBuilder('c')
->select('c.nmComputador', 'c.teIpComputador', 'log.data', 'log.usuario')
->from('computador', 'c')
->innerJoin('log.idComputador', 'WITH', 'c.idComputador');
is it happens that :
[Semantical Error] line 0, col 124 near '.idComputer': Error: Identification Variable log used in Join path Expression but was not defined before.
was exactly as utilzei. Thank you.
– Bruno Menezes