method getIrow documentation in bbn\Db\Languages\Sql
Return a row as a numeric indexed array.
Example
X::dump($db->getIrow("SELECT id, name, surname FROM table_users WHERE id > ?", 2));
/* (array) [
3,
"john",
"brown",
]
function()
{
if ($r = $this->query(...\func_get_args())) {
return $r->getIrow();
}
return null;
}
Return a row as a numeric indexed array. 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