method columns documentation in bbn\Appui\Database
Returns a list of the columns for the given table.
function(string $table, string $db = '')
{
if (!bbn\Str::isUid($table) && Str::isUid($db)) {
$table = $this->tableId($this->db->tsn($table), $db);
}
if (bbn\Str::isUid($table)
&& ($id_parent = $this->o->fromCode('columns', $table))
&& ($res = $this->o->options($id_parent))
) {
return $res;
}
return null;
}
Returns a list of the columns for the given 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-2023
BBN Solutions