BOOL
or BOOLEAN
are as far as MYSQL is concerned just replacements/synonyms for TINYINT(1)
, tiny integer, so using %d
for integers is the correct way to do it.
Some additional information:
BOOL
or BOOLEAN
are as far as MYSQL is concerned just replacements/synonyms for TINYINT(1)
, tiny integer, so using %d
for integers is the correct way to do it.
Some additional information: