method columnId documentation in bbn\Appui\Database
Returns the given column's ID.
function(string $column, string $table, string $db = '')
{
$res = null;
if (Str::isUid($table)) {
$res = $this->o->fromCode($this->db->csn($column), 'columns', $table);
return $res;
}
$c = $this->db->csn($column);
$t = $this->db->tsn($table);
if (!Str::isUid($db)) {
$db = $this->dbId($db);
}
if (Str::isUid($db) && ($tmp = $this->o->fromCode($c, 'columns', $t, 'tables', $db))) {
$res = $tmp;
}
return $res;
}
Returns the given column's ID. 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