method tableSimpleName documentation in bbn\Db\Languages\Sql

Returns a table's simple name i.e. table

function(string $table, bool $escaped = false) { if ($table = trim($table)) { $bits = explode('.', $table); switch (\count($bits)) { case 1: $table = trim($bits[0], ' ' . $this->qte); break; case 2: case 3: $table = trim($bits[1], ' ' . $this->qte); break; } if (Str::checkName($table)) { return $escaped ? $this->escape($table) : $table; } } return null; }

Returns a table's simple name i.e. 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.