Sorting issue
#10798
-
Hi friends, just want to know can I sort the parent based on the child value at this moment? |
Beta Was this translation helpful? Give feedback.
Answered by
vkarpov15
Sep 28, 2021
Replies: 1 comment 1 reply
-
@kaisian97 no, you can't. If you want to sort parent by child properties, you should denormalize and put the child property in the parent. Store what you query for. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kaisiant
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kaisian97 no, you can't. If you want to sort parent by child properties, you should denormalize and put the child property in the parent. Store what you query for.