How to insert binary strings via $wpdb interface?
-
Hi, is there a way to insert a binary string via
$wpdb
interface?
It looks likestrip_invalid_text()
is called byinsert()
andprepare()
, so my binary string is always stripped off.
My case is that my table has auuid
column which is defined asbinary(16)
for compactness. I know changing it tovarchar(36)
would work, but I’d love to know if there is a way to work around that before making the change.Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to insert binary strings via $wpdb interface?’ is closed to new replies.