bool 类型存在数据库中为 0 和 1时间:2023-03-09 03:25:03 bool 类型存在数据库中为 0 和 1 但是在程序中应该使用 true 和 false 查询。 例如: bIsStart = 0 在数据中bIsStart为 0 sql 查询的时候,使用:select * from table where bIsStart = fale 即可。