method countColumns documentation in bbn\Appui\Database

Returns the number of columns for the given DB.

function(string $table, string $db = '') { $num = 0; if (!Str::isUid($table) && Str::isUid($db)) { $table = $this->tableId($table, $db); } if (Str::isUid($table) && ($id_parent = $this->o->fromCode('columns', $table)) ) { $num = $this->o->count($id_parent); } return $num; }

Returns the number of columns for the given DB. 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.