mixed pq\Gateway\Table::with(array $relations[, array $where = NULL[, string $order = NULL[, int $limit = 0[, int $offset = 0]]]])Find rows dependent on other rows by foreign keys. See pq\Gateway\Table::of(), pq\Gateway\Table::by() and pq\Gateway\Table::find().
array $relations#array $where# = NULLstring $order# = NULLint $limit# = 0int $offset# = 0
<?php
use pq\Gateway\Table;
$emails = new Table("account_email");
$accounts = new Table("account");
$notifications = new Table("notification");
$relations = [
$emails->getRelation("account"),
$notifications->getRelation("account_email", "email")
];
$bouncers = $accounts->with($relations, ["bounces>" => 3]);
?>