When using joins in the readQueryBuilder in the format table.column there's always an exception because both of the initial conditions and stripped conditions are passed to PDO.
This query
$readQueryBuilder = (new ReadQueryBuilder)
->addSelect('users.*')
->addSelect(profiles.nickname as user_nickname')
->addCondition('users.id', $userId)
->addInnerJoin('profiles', 'profiles', 'users.id = profiles.user_id');
When using joins in the readQueryBuilder in the format table.column there's always an exception because both of the initial conditions and stripped conditions are passed to PDO.
This query
will generate the following conditions:
which will throw an exception.