method colFullName documentation in bbn\Db\Languages\Sql
Returns a column's full name i.e. table.column
function(string $col, string $table = NULL, bool $escaped = false)
{
if ($col = trim($col)) {
$bits = explode('.', $col);
$ok = null;
$col = trim(array_pop($bits), ' ' . $this->qte);
if ($table && ($table = $this->tableSimpleName($table))) {
$ok = 1;
} elseif (\count($bits)) {
$table = trim(array_pop($bits), ' ' . $this->qte);
$ok = 1;
}
if ((null !== $ok) && Str::checkName($table) && Str::checkName($col)) {
return $escaped
? $this->escape("$table.$col")
: "$table.$col";
}
}
return null;
}
Returns a column's full name i.e. table.column 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