我需要将 BOOL
值插入到 SQLite 表中。如果您有任何想法或示例代码,请分享。
最佳答案
来自 http://www.sqlite.org/datatype3.html :
SQLite does not have a separate Boolean storage class. Instead, Boolean values are stored as integers 0 (false) and 1 (true).
关于ios - SQLite 插入 boolean 值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7316747/