function TestSqlBase::query
Prepares query object to retrieve data from the source database.
This method should not be called directly. It is called automatically from SqlBase::prepareQuery().
Return value
\Drupal\Core\Database\Query\SelectInterface A Select query object with the source data.
Overrides SqlBase::query
File
-
core/
modules/ migrate/ tests/ src/ Unit/ SqlBaseTest.php, line 227
Class
- TestSqlBase
- Creates a base source class for SQL migration testing.
Namespace
Drupal\Tests\migrate\UnitCode
public function query() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.