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
{{ message }}
This repository was archived by the owner on Jan 18, 2025. It is now read-only.
I'm using Cassandra with OrientDB in one system and have to handle uuid<->string conversions throughout the app having to store as a string in OrientDB, while using native uuid/timeuuid in Cassandra.
It would be great to be able to use actual UUID type with queries, not a string value.
Currently:
There's an error if I'm trying to bind a UUID value, ex.
...Command(orient.NewSQLCommand(INSERT INTO Users SET userID = ?, p.UserID))
Workaround is to convert to a string manually:
....Command(orient.NewSQLCommand(INSERT INTO Users SET userID = ?, p.UserID.String()))
On reading from a query, need to read as a string value and then to parse into UUID again, ex. uuid.Parse(uuidStr).