Skip to content

Conversation

jekuaitk
Copy link
Contributor

https://leantime.itkdev.dk/#/tickets/showTicket/3472

  • Fetches just submission sid and uuid and avoids loading submissions.

@jekuaitk jekuaitk requested a review from cableman December 18, 2024 07:24
$requestQuery = $this->currentRequest->query;

$query = 'SELECT sid, uuid FROM webform_submission WHERE webform_id = :webform_id';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a comment about why we use SQL and not the entity manager here. Perfomance...

@jekuaitk jekuaitk merged commit 9070053 into main Dec 18, 2024
7 checks passed
@jekuaitk jekuaitk deleted the feature/avoid-loading-submissions-when-fetching-all branch December 18, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants