You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a classA ToMany classB relation, with ordering ASC by a String in ClassB generated by the generator.
If i call classA.getClassB list, the objetcs are ordered case sensitive, like the result below
BMW
Mercedes
iMpala
Is there a way to set orderASC to insensitive?
The text was updated successfully, but these errors were encountered:
Huh, looks like specifying a custom collation is currently not possible when using the @OrderBy("date ASC") annotation.
The greenDAO generator (and probably therefore the plugin) only understand ASC and DESC types of Order when building DAOs (generator.ToManyBase#orderAsc()). Though there is generator.PropertyOrderList#addOrderRaw(), but it is unused.
The relevant plugin code is in codemodifier.FunsKt#parseIndexSpec, it falls back to ASC if the order string is not supported.
I adjusted the title accordingly. -ut
greenrobot-team
changed the title
ToMany: orderASC is case sensitive
ToMany: support orderASC is case sensitive/should be customizable
Jan 9, 2017
greenrobot-team
changed the title
ToMany: support orderASC is case sensitive/should be customizable
ToMany: orderASC is case sensitive/should be customizable
Jan 9, 2017
I have a classA ToMany classB relation, with ordering ASC by a String in ClassB generated by the generator.
If i call classA.getClassB list, the objetcs are ordered case sensitive, like the result below
Is there a way to set orderASC to insensitive?
The text was updated successfully, but these errors were encountered: