You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would be very supportive of having an option like tinyint1isbool, since as of today there's no good way to get Length() of a column in a result set, and it's been really tricky in my app's use case to figure if it's boolean or an actual tinyint.
Activity
dolmen commentedon Oct 17, 2023
methane commentedon Oct 19, 2023
OK. Assuming TINYINT(1) is bool is not 100% safe.
I think we should keep status quo.
methane commentedon Mar 17, 2025
Using TINYINT(1) for Boolean is MySQL's spec.
I am thinking about adding
tinyint1isbool
option. It changes behavior for signed tinyint(1) like:kirs commentedon Mar 17, 2025
I would be very supportive of having an option like
tinyint1isbool
, since as of today there's no good way to getLength()
of a column in a result set, and it's been really tricky in my app's use case to figure if it's boolean or an actual tinyint.