cozodb / cozo

A transactional, relational-graph-vector database that uses Datalog for query. The hippocampus for AI!
https://cozodb.org
Mozilla Public License 2.0
3.44k stars 108 forks source link

Will there be support for collation ? #178

Closed Mr-Dispatch closed 1 year ago

Mr-Dispatch commented 1 year ago

(searched whole repo for some mention, none found) Some use-cases require sorting by "regional standards", and creating(!!maintaining!!) your own "index/sort" fields ain't fun :-/

zh217 commented 1 year ago

Collation would be very nice, but we are not sure how best to implement it yet. Currently there is one and only one way to sort everything in CozoDB, and introducing collation would break that simplifying assumption and introduce lots of indirections. If there are examples of how other databases did it elegantly, suggestions are welcom.