memsql / memsql-python

This repository holds some python libraries and plugins designed to be used with MemSQL.
MIT License
62 stars 33 forks source link

Use binary flag to determine if value should be bytes or utf8 #24

Closed kesmit13 closed 2 years ago

kesmit13 commented 2 years ago

The MySQLdb library allows you to specify multiple converters that are triggered using flags. By using the FLAG.BINARY flag to check if the column was binary, the bytes converter can be applied rather than the utf8 conversion.

carlsverre commented 2 years ago

This resolves #21