I'm trying to unit test sql queries using an in-memory db. The queries make use of the MySQL in-built function 'hex' and 'unhex' (because they write binary data to the DB). Turns out neither of these 3 in-momery DB solutions support the 'hex' function, and I'm unable to test them.
My questions - is there no way to test the queries without moving hex conversion to code instead the 'hex' function directly in the query?
ps. I know in-memory DBs are not representative of the real db behavior but the queries are pretty straightforward - inserts and selects.