You are here

protected function WebformSubmittedData::query in Migrate Webform 7

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

File

./submitteddata.inc, line 58

Class

WebformSubmittedData

Code

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