elixir-mongo / elixir-mongo/mongodb_ecto
Sort/Order by nested
Open
- Dominant language
- Elixir
- Stars
- 378
- Forks
- 127
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.