You are here

protected function WebformLastDownload::query in Migrate Webform 7

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

File

./lastdownload.inc, line 57

Class

WebformLastDownload

Code

protected function query($fields) {
  $connection = migrate_webform_get_source_connection();
  $query = $connection
    ->select('webform_last_download', 'wld')
    ->fields('wld', $fields)
    ->orderBy('nid', 'ASC');
  return $query;
}