protected function fetchTableNamesDb() {
        // Get the table names.
        $tables = $this->get(
            new Identifier('sqlite_master'),
            [
                'type' => 'table',
                'name' => [Db::OP_LIKE => $this->escapeLike($this->getPx()).'%']
            ],
            [
                'columns' => ['name']
            ]
        )->fetchAll(PDO::FETCH_COLUMN);

        // Remove internal tables.
        $tables = array_filter($tables, function ($name) {
            return substr($name, 0, 7) !== 'sqlite_';
        });

        return $tables;
    }
protected function fetchTableNamesDb() {
        // Get the table names.
        $tables = $this->get(
            new Identifier('sqlite_master'),
            [
                'type' => 'table',
                'name' => [Db::OP_LIKE => $this->escapeLike($this->getPx()).'%']
            ],
            [
                'columns' => ['name']
            ]
        )->fetchAll(PDO::FETCH_COLUMN);

        // Remove internal tables.
        $tables = array_filter($tables, function ($name) {
            return substr($name, 0, 7) !== 'sqlite_';
        });

        return $tables;
    }
protected function fetchTableNamesDb ( ) { // Get the table names. $ tables = $ this -> get ( new Identifier ( 'sqlite_master' ) , [ 'type' => 'table' , 'name' => [ Db :: OP_LIKE => $ this -> escapeLike ( $ this -> getPx ( ) ) . '%' ] ] , [ 'columns' => [ 'name' ] ] ) -> fetchAll ( PDO :: FETCH_COLUMN ) ; // Remove internal tables. $ tables = array_filter ( $ tables , function ( $ name ) { return substr ( $ name , 0 , 7 ) !== 'sqlite_' ; } ) ; return $ tables ; }
Get the all of table names in the database.

@return array Returns an array of table names.
Get the all of table names in the database .