I am using Angular2(typescript)
, Slim
and Mysql
.
Mysql can store boolean
only in 0/1 tinyint
. However typescript can't convert
1/0 to boolean
.
Is the best way to convert it intro true/false string before send? Any ideas?
I am using Angular2(typescript)
, Slim
and Mysql
.
Mysql can store boolean
only in 0/1 tinyint
. However typescript can't convert
1/0 to boolean
.
Is the best way to convert it intro true/false string before send? Any ideas?