How would I run a query similar to: `sort({'embedded.field': -1})`? I have tried `order_by(desc: "embedded.field")` and `order_by(fragment("embedded.field"))` doesn't work.
Activity
rhcarvalho commentedon Apr 28, 2024
I was trying to get a similar query to work, and after some trial and error I think I found something that works:
The logs print:
And I get apparently correct results.