PHP Doctrine - select uuid stored in binary(16) as hex

Viewed 801

I've made custom doctrine type for storing UUID in BINARY(16), it is working well but I have a problem when selectin records.

I need to select id as HEX(id), but doctrine can't do it (or it can, but i have not found the way)... is there a way to force doctrine to select id as HEX(id)?

I am using MYSQL.

Thanks

0 Answers
Related