I am trying to execute this query using PDO:
select * from users where uuid = 0x1e8ef774581c102cbcfef1ab81872213;
I pass this SQL query to the prepare method of PDO:
select * from users where uuid = :uuid
Then I pass this hashmap to execute:
Array ( [:uuid] => 0x1e8ef774581c102cbcfef1ab81872213 )
It looks like this query is being executed on the mysql server, when I call fetchAll:
select * from users where uuid = '0x1e8ef774581c102cbcfef1ab81872213';
How can I execute the query without having PDO add the quotes around my hex?
Thanks, Steve