method getColArray documentation in bbn\Db\Languages\Sql
Return an array with the values of single field resulting from the query.
Example
X::dump($db->getColArray("SELECT id FROM table_users"));
/*
(array)[1, 2, 3, 4]
function()
{
if ($r = $this->getByColumns(...\func_get_args())) {
return array_values(current($r));
}
return [];
}
Return an array with the values of single field resulting from the query. 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-2025
BBN Solutions