public function SqlCountCache::query in Drupal 10
Same name and namespace in other branches
- 9 core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php \Drupal\migrate_sql_count_cache_test\Plugin\migrate\source\SqlCountCache::query()
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',
]);
}