Closed kesmit13 closed 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.
FLAG.BINARY
bytes
This resolves #21
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, thebytes
converter can be applied rather than the utf8 conversion.