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

Prevent N+1 queries in Encounter Symptoms ViewSet #2297

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

rithviknishad
Copy link
Member

Proposed Changes

  • Select related created_by and updated_by users for encounter symptoms to prevent N+1 queries

Associated Issue

Merge Checklist

  • Linting Complete
  • Any other necessary step

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.49%. Comparing base (7d756d6) to head (02b4f97).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2297   +/-   ##
========================================
  Coverage    63.49%   63.49%           
========================================
  Files          238      238           
  Lines        13265    13265           
  Branches      1886     1886           
========================================
  Hits          8422     8422           
  Misses        4490     4490           
  Partials       353      353           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vigneshhari vigneshhari merged commit 24d1842 into develop Jul 13, 2024
5 checks passed
@vigneshhari vigneshhari deleted the rithviknishad/fix/encounter-symptoms-n+1 branch July 13, 2024 14:06
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.

N+1 Query in Encounter Symptoms
4 participants