function TestSqlPrepareQuery::prepareQuery
Overrides SqlBase::prepareQuery
File
-
core/
modules/ migrate/ tests/ modules/ migrate_sql_prepare_query_test/ src/ Plugin/ migrate/ source/ TestSqlPrepareQuery.php, line 28
Class
- TestSqlPrepareQuery
- Source plugin for prepare query test.
Namespace
Drupal\migrate_sql_prepare_query_test\Plugin\migrate\sourceCode
protected function prepareQuery() {
$this->query = parent::prepareQuery();
$this->query
->condition('name', 'foo', '!=');
return $this->query;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.