Is there a boolean literal in SQLite?

前端 未结 12 1869
逝去的感伤
逝去的感伤 2020-12-04 20:43

I know about the boolean column type, but is there a boolean literal in SQLite? In other languages, this might be true

12条回答
  •  广开言路
    2020-12-04 21:35

    SQLite doesn't have Boolean type, you should use INTEGER with 0 is false and 1 is true

提交回复
热议问题