Skip to content

Conversation

@driusan
Copy link
Collaborator

@driusan driusan commented Sep 30, 2024

There were (at least) 2 unnecessaries joins in database queries in getVisitList and getVisitInstruments where a table was joined, and then the table was only used to filter for the same key that was used in the join condition.

Remove those joins by just filtering on the key in the first place.

There were (at least) 2 unnecessaries joins in database queries
in getVisitList and getVisitInstruments where a table was joined,
and then the table was only used to filter for the same key that
was used in the join condition.

Remove those joins by just filtering on the key in the first place.
@cmadjar cmadjar self-assigned this Oct 1, 2024
@driusan driusan merged commit a2c73cc into aces:main Oct 29, 2024
ZhichGaming pushed a commit to ZhichGaming/Loris that referenced this pull request Nov 25, 2024
There were (at least) 2 unnecessaries joins in database queries in
getVisitList and getVisitInstruments where a table was joined, and then
the table was only used to filter for the same key that was used in the
join condition.

Remove those joins by just filtering on the key in the first place.
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.

3 participants