You are here

public function MigrateSourceSQL::__toString in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/sql.inc \MigrateSourceSQL::__toString()

Return a string representing the source query.

Return value

string

File

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

Class

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

Code

public function __toString() {
  return (string) $this->query;
}