Skip to content

Conversation

@obabichevjb
Copy link
Collaborator

Description

DAO allows to add order on references what looks like val ratings by UserRatingDefaultOrder referrersOn UserRatings.user orderBy UserRatings.value

But in such definition the method orderBy will be executed multiple times for every call of that field what could lead to the duplicates in the ordering parts and lead to query with many duplicated conditions in ORDER BY section.


Type of Change

Please mark the relevant options with an "X":

  • Bug fix

Affected databases:

  • All

Related Issues

EXPOSED-950: Order by clause is repeated hundredfold

@obabichevjb obabichevjb requested a review from bog-walk December 5, 2025 11:47
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