badgerhold
badgerhold copied to clipboard
SortBy ASC and DESC per Field
badgerhold is awesome!
- [ ] To make the query even better it would be nice to have the possibility to define ASC or DESC per field.
What do you guys think?
That's what the Reverse
method does.
Where("field").Eq(value).SortBy("field").Reverse()
I'm glad you think badgerhold is awesome.
Yes, it does. But you can't combine it with multiple fields.
Apologies, I didn't' read the issue close enough. You're correct. Having multiple independent sorting per field isn't really doable currently.
Thanks for reporting.