You are here

public function SqlCountCache::query in Drupal 10

Same name and namespace in other branches
  1. 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\source

Code

public function query() {
  return $this
    ->select('source_table', 's')
    ->fields('s', [
    'id',
  ]);
}