You are here

public function MigrateSourceSQL::query in Migrate 7.2

Return a reference to the base query, in particular so Migration classes can add conditions/joins/etc to the query for a source defined in a base class.

Return value

SelectQueryInterface

File

plugins/sources/sql.inc, line 27
Define a MigrateSource for importing from Drupal connections.

Class

MigrateSourceSQL
Implementation of MigrateSource, to handle imports from Drupal connections.

Code

public function &query() {
  return $this->originalQuery;
}