method getIrows documentation in bbn\Db\Languages\Sql
Return an array of numeric indexed rows.
Example
X::dump($db->getIrows("SELECT id, name FROM table_users WHERE id > ? LIMIT ?", 2, 2));
/*
(array)[
[
3,
"john"
],
[
4,
"barbara"
]
]
function()
{
if ($r = $this->query(...\func_get_args())) {
return $r->getIrows();
}
return null;
}
Return an array of numeric indexed rows. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions