Prado\Data\Common\Sqlite\TSqliteMetaData::findTableNames PHP Method

findTableNames() public method

Returns all table names in the database.
public findTableNames ( string $schema = '' ) : array
$schema string the schema of the tables. This is not used for sqlite database.
return array all table names in the database.
    public function findTableNames($schema = '')
    {
        $sql = "SELECT DISTINCT tbl_name FROM sqlite_master WHERE tbl_name<>'sqlite_sequence'";
        return $this->getDbConnection()->createCommand($sql)->queryColumn();
    }