Is there a way to rename column names when using a db query?
Im using leftJoin with several tables which have a couple of same column names.
Is there a way to add a custom prefix per per array key? (no not looking for a way to manuplilate the array after the db query)
Changing the column names is not an option!
Example output
(
[1]=>array(
product => name of product
translation => naam van product
// the issue here (key is double)
translation => nombre del producto
)
)