We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 461174e commit 7a5505cCopy full SHA for 7a5505c
src/Plugin/rest/resource/WebformAllFormSubmissions.php
@@ -112,6 +112,9 @@ public function get(string $webform_id): ModifiedResourceResponse {
112
113
$requestQuery = $this->currentRequest->query;
114
115
+ // We use raw SQL to fetch submission sids and uuids.
116
+ // This is to avoid degraded performance by having to load every
117
+ // single submission through the webform submissions storage.
118
$query = 'SELECT sid, uuid FROM webform_submission WHERE webform_id = :webform_id';
119
120
foreach (self::ALLOWED_DATETIME_QUERY_PARAMS as $param => $operator) {
0 commit comments