Apparently MySQL lacks a proper boolean type and TINYINT(1) and BIT(1) are commonly used instead. To support this behavior we now convert these types to boolean by default. We also add two new settings to disable this behavior: mysql_tinyint1_as_boolean and mysql_bit1_as_boolean.
Fixes #25
Apparently MySQL lacks a proper boolean type and
TINYINT(1)
andBIT(1)
are commonly used instead. To support this behavior we now convert these types to boolean by default. We also add two new settings to disable this behavior:mysql_tinyint1_as_boolean
andmysql_bit1_as_boolean
.