We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TINYINT(1)
bool
MySQL doesn't have actual bool type. Boolean is alias of TINYINT(1).
Using TINYINT(1) for regular integer is not so common. How about treating TINYINT(1) as bool for better experience?
var b any db.QueryRow("SELECT true").Scan(&b) // b is bool(true), not int64(1).