Closed pergunt closed 1 year ago
Is there a way to transfrom TINYINT fields to BOOLEAN "on fly" where we are querring TINYINT fields? So intstead of returning 1 or 0we will be returning true / false
TINYINT
BOOLEAN
1 or 0
true / false
Hey @pergunt, yes!
I recommend reading this article that discusses this exact situation with several solutions for doing so.
Is there a way to transfrom
TINYINT
fields toBOOLEAN
"on fly" where we are querringTINYINT
fields? So intstead of returning1 or 0
we will be returningtrue / false