Skip to content

Search for similar Uuid with default ToSql? #1472

Answered by gwenn
OscarCreator asked this question in Questions
Discussion options

You must be logged in to vote

Is it possible to search for similar tasks with the default ToSql for Uuid ?

I don't think so:

Value::Blob(id.as_bytes().to_vec())

But you should be able to use the task.id.as_bytes()[..6] as parameter (not tested).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by OscarCreator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants