j4mie / idiorm

A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.
http://j4mie.github.com/idiormandparis/
2.01k stars 369 forks source link

need help please #377

Closed hellracer closed 1 year ago

hellracer commented 1 year ago

Hi,

Good day, I'm inheriting a small project made with idiorm, if I join two tables how can i get table1.id or table2.id it was not clear in the document, thanks in advance

treffynnon commented 1 year ago

You will need to alias the columns you're selecting with select or select_many - look for the alias docs on these links: