pub fn uuid_as_blob(
context: *mut sqlite3_context,
values: &[*mut sqlite3_value],
) -> Result<()>Expand description
Convert a string representation of a UUID to blob
It doesn’t matter if it’s a v4 or v7 UUID, it will be converted to a string
§Example
SELECT uuid_as_blob(user_id) from users;
--- or for inserting
INSERT INTO events(event_id) VALUES (uuid_as_blob('018d9887-42cd-7115-b1ca-18227ac211b4'));