method status documentation in bbn\Db\Languages\Pgsql

Gets the status of a table

function(string $table = '', string $database = '') { if ($database && ($this->getCurrent() !== $database)) { return $this->newInstance( array_merge($this->cfg, ['db' => $database]) ) ->status($table, $database); } $query = "SELECT * FROM pg_catalog.pg_tables WHERE schemaname != 'pg_catalog' AND schemaname != 'information_schema'"; if (!empty($table)) { $query .= " AND tablename LIKE ?"; } return $this->getRow($query, !empty($table) ? $table : []); }

Gets the status of a 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.