How do I inset into a binary/varbinary column? (mysql2)

Hi all, I've really tried searching but cannot find the answer. I want to insert into a binary/varbinary column, but not really sure what drizzle is expecting. It expects a string, but what kind of string? Does it want it in hex, a byte string, base64? I'm constantly getting error Data too long for column. I've tried all of the above and no dice. I've got a binary(32) and cannot insert a 32-char byte-string, 64-byte hex string or base64.
1 Reply
sexnine
sexnineOP2w ago
Running drizzle-orm version 0.43.1

Did you find this page helpful?