Skip to content

Audit for database queries that use firstOrNull instead of a limit#578

Draft
nullpointer0x00 wants to merge 4 commits into
mainfrom
nullpointer0x00/545-use-limit-not-first-or-null
Draft

Audit for database queries that use firstOrNull instead of a limit#578
nullpointer0x00 wants to merge 4 commits into
mainfrom
nullpointer0x00/545-use-limit-not-first-or-null

Conversation

@nullpointer0x00

@nullpointer0x00 nullpointer0x00 commented Dec 31, 2024

Copy link
Copy Markdown
Collaborator

Description

Started audit of queries that used called the whole table just for a single row.

closes: #545


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote unit and integration
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

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.

Audit for database queries that use firstOrNull instead of a limit

1 participant