-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: 7.1.2
-
Component/s: Dev Exp
-
None
-
Environment:Any
It's not a big problem but it would be nice if it would be consistent with "The Ruby way".
MongoDB supports locale sort order for quite some time now.
Model.all.order_by(name: 1).collation(locale: 'sl')
But locale option can only be passed as string. Allow it also to be passed as symbol.
Model.all.order_by(name: 1).collation(locale: :sl)
by
TheR
- is related to
-
MONGOID-4967 Document criteria methods like order_by and collation
- Backlog