long2ice / asyncmy

A fast asyncio MySQL/MariaDB driver with replication protocol support
https://github.com/long2ice/asyncmy
Apache License 2.0
230 stars 25 forks source link

args other than %s? #79

Open elbaro opened 9 months ago

elbaro commented 9 months ago

Does asyncmy support passing int or hex binary data in mogrify?

I would like to generate e.g. "SELECT * FROM table WHERE col = 0xABC".

"col = %s" will generate 'col = "0xABC"' instead.