how to create this SQL in ORM nette?

Notice: This thread is very old.
frankmaniaz
Member | 8
+
0
-
select p.*, c.`name` categoria from post p
inner JOIN category c on c.id = p.category_id
CZechBoY
Member | 3598
+
+2
-
$db->table('post')
	->select('post.*')
	->select('category.name categoria');
frankmaniaz
Member | 8
+
0
-

CZechBoY wrote:

$db->table('post')
	->select('post.*')
	->select('category.name categoria');

Thanks, Excelent solution