Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoided loading submissions when fetching all submissions #10

Merged
merged 5 commits into from
Dec 18, 2024

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