You are here

public function Table::query in Migrate Plus 8.5

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

src/Plugin/migrate/source/Table.php, line 59

Class

Table
Source plugin for retrieving data via URLs.

Namespace

Drupal\migrate_plus\Plugin\migrate\source

Code

public function query() {
  return $this
    ->select($this->tableName, static::TABLE_ALIAS)
    ->fields(static::TABLE_ALIAS, $this->fields);
}