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
Is there a way to get a locale-correct row order with RBQL?
çilek
erik
şeftali
armut
üzüm
RBQL:
SELECT a1 ORDER BY a1 ASC
Expected (correct for the tr locale):
armut
çilek
erik
şeftali
üzüm
Actual:
armut
erik
çilek
üzüm
şeftali
Judging from the source, RBQL does simple comparison of values when sorting.
In case of JS, in locale-aware sort RBQL would call String.localeCompare() on a values with a provided locale (and, potentially, options), instead of using the < operator.
This should probably be optional behavior, as (1) locale is query-specific and complicated, and (2) it would incur a performance penalty.
The text was updated successfully, but these errors were encountered:
Is there a way to get a locale-correct row order with RBQL?
RBQL:
Expected (correct for the
tr
locale):Actual:
Judging from the source, RBQL does simple comparison of values when sorting.
In case of JS, in locale-aware sort RBQL would call
String.localeCompare()
on a values with a provided locale (and, potentially, options), instead of using the<
operator.This should probably be optional behavior, as (1) locale is query-specific and complicated, and (2) it would incur a performance penalty.
The text was updated successfully, but these errors were encountered: