Skip to content

Add uuid:compare() method #5511

@akudiyar

Description

@akudiyar

Tarantool version: 2.4+

There is no built-in way of comparing UUIDs. One can use uuid:str() and go with string representations, but it is not a better choice semantically and performance-wise. Btw, there is an internal tt_uuid_compare method which may be exposed for this purpose.

Real case: using UUIDs as key parts in indexes requires UUID comparison when performing operations on spaces using tarantool/crud.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions