public function SqlCountCache::query in Drupal 9
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ migrate/ tests/ modules/ migrate_sql_count_cache_test/ src/ Plugin/ migrate/ source/ SqlCountCache.php, line 39
Class
- SqlCountCache
- Source plugin for Sql count cache test.
Namespace
Drupal\migrate_sql_count_cache_test\Plugin\migrate\sourceCode
public function query() {
return $this
->select('source_table', 's')
->fields('s', [
'id',
]);
}