Replies: 1 comment 2 replies
-
I am curious: how is this relationship between In any case, by design, query set methods never mutate existing query set objects and always produce new ones. Query sets in Marten are immutable. This aspect will never change for several reasons:
Given this, an The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What possibilities are there to sort related records? I have a
List
andItem
. TheItem
has aposition
field which determines the order to display. How could I sort the items with a query instead of doing it in my Crystal code?This issue seems to be more prominent if using prefetch:
Would a
#order!
make sense, where the queryset is changed in place instead of returning a new queryset? The same question also applies to other query methodsBeta Was this translation helpful? Give feedback.
All reactions