src/PDO/SchemaPDOSqlite.php
/**
     * Returns all table names in the database.
     *
     * This method should be overridden by child classes in order to support this feature because the default
     * implementation simply throws an exception.
     *
     * @param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema.
     *
     * @throws Exception|InvalidConfigException|Throwable
     *
     * @return array all table names in the database. The names have NO schema name prefix.
     */
Returns all table names in the database.
This method should be overridden by child classes in order to support this feature because the default
implementation simply throws an exception.

@param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema.



@return array all table names in the database. The names have NO schema name prefix.
Returns all table names in the database . This method should be overridden by child classes in order to support this feature because the default implementation simply throws an exception . @param string $schema the schema of the tables . Defaults to empty string meaning the current or default schema . @return array all table names in the database . The names have NO schema name prefix .
protected function findTableNames(string $schema = ''): array
    {
        return $this->db->createCommand(
            "SELECT DISTINCT tbl_name FROM sqlite_master WHERE tbl_name<>'sqlite_sequence' ORDER BY tbl_name"
        )->queryColumn();
    }
protected function findTableNames ( string $ schema = '' ) : array { return $ this -> db -> createCommand ( " SELECT DISTINCT tbl_name FROM sqlite_master WHERE tbl_name<>'sqlite_sequence' ORDER BY tbl_name " ) -> queryColumn ( ) ; }
Returns all table names in the database.
Returns all table names in the database .