function SqlCountCache::query

Same name 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()
  2. 10 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()

Overrides SqlBase::query

File

core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php, line 41

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',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.