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
When creating a collection, you can specify defaultStringCollation which will be used used for all fields. Is it possible to change the stringCollation option in queryCollectionOptions to accept default collation per field? Something like:
The main usecase I have with this is the primary keys are usually UUIDs and can be sorted lexically, but it's easy to forget the collation parameter in .orderBy. Using limit with orderBy on a UUID field will trigger a full load in query-pushdown mode.
If you specify a different collation in .orderBy, it should override the default one.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
When creating a collection, you can specify
defaultStringCollationwhich will be used used for all fields. Is it possible to change thestringCollationoption inqueryCollectionOptionsto accept default collation per field? Something like:The main usecase I have with this is the primary keys are usually UUIDs and can be sorted lexically, but it's easy to forget the collation parameter in
.orderBy. UsinglimitwithorderByon a UUID field will trigger a full load inquery-pushdownmode.If you specify a different collation in
.orderBy, it should override the default one.All reactions