You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example is worth a thousand works, it would be cool if this worked:
$result = $database->query('SELECT * FROM books INNER JOIN authors ON books.author_id = author.id');
foreach ($resultas$row->byTable()) {
echo$row->books->name . " by " . $row->authors->name;
}
It would be nice to cache, and pass into rowFactory / rowClass, the result of getResultColumns(). That way a custom rowFactory could accomplish this easily.
The text was updated successfully, but these errors were encountered:
An example is worth a thousand works, it would be cool if this worked:
It would be nice to cache, and pass into
rowFactory
/rowClass
, the result ofgetResultColumns()
. That way a customrowFactory
could accomplish this easily.The text was updated successfully, but these errors were encountered: