how to create this SQL in ORM nette?
Notice: This thread is very old.
- frankmaniaz
- Member | 8
select p.*, c.`name` categoria from post p
inner JOIN category c on c.id = p.category_id
- frankmaniaz
- Member | 8
CZechBoY wrote:
$db->table('post') ->select('post.*') ->select('category.name categoria');
Thanks, Excelent solution