Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用Angular2(typescript),Slim和Mysql.
Angular2(typescript)
Slim
Mysql
Mysql 只能存储boolean在0/1 tinyint. 但是打字稿不能convert1/0 到boolean.
boolean
0/1 tinyint
convert
在发送之前将其转换为真/假字符串的最佳方法是什么?有任何想法吗?