You are here

protected function WebformSubmissions::query in Migrate Webform 7

1 call to WebformSubmissions::query()
WebformSubmissions::__construct in ./submissions.inc
General initialization of a Migration object.

File

./submissions.inc, line 48

Class

WebformSubmissions

Code

protected function query($fields) {
  $connection = migrate_webform_get_source_connection();
  $query = $connection
    ->select('webform_submissions', 'wss')
    ->fields('wss', $fields)
    ->orderBy('sid', 'ASC');
  return $query;
}