Why does TINYINT(1) work as a boolean? The way I understood the official docs, the (1) should mean it has a display width of 1, so if I store 56 in
TINYINT(1)
56
As I understand it, TINYINT(1) can only hold '0' or '1' (from own experience). Thus, one can assume that the '0' or '1' is translated into true or false.
'0'
'1'
true
false