method getColumnValues documentation in bbn\Db
Return a numeric indexed array with the values of the unique column ($field) from the selected $table
Example
X::dump($db->getColumnValues('table_users','surname',['id','>',1]));
/*
array [
"Smith",
"Jones",
"Williams",
"Taylor"
]
function($table, string $field = NULL, array $where = [], array $order = [], int $limit = 0, int $start = 0)
{
return $this->language->getColumnValues($table, $field, $where, $order, $limit, $start);
}
Return a numeric indexed array with the values of the unique column ($field) from the selected $table 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