zend_db_select with a hexadecimal query parameter against a binary column

Posted by Jack Tanner on Stack Overflow See other posts from Stack Overflow or by Jack Tanner
Published on 2010-06-07T02:19:19Z Indexed on 2010/06/07 2:22 UTC
Read the original article Hit count: 324

Filed under:
|
|
|

How do you represent this query as a Zend_Db_Select?

select * from t where id = x'0cc175b9c0f1b6a831c399e269772661';

The database is MySQL, using either PDO or mysqli adapters.

© Stack Overflow or respective owner

Related posts about pdo

Related posts about mysqli