method getTableComment documentation in bbn\Db\Languages\Pgsql

Returns the comment (or an empty string if none) for a given table.

function(string $table) { if ($table = $this->tableFullName($table)) { return $this->getOne( "SELECT obj_description(oid) FROM pg_class WHERE relkind = 'r' AND relname = ?", $table ) ?? ''; } return ''; }

Returns the comment (or an empty string if none) for a 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.