Sqite数据库 boolean 字段 该如何写where 查询子句

Sqite数据库 boolean 字段 该如何写where 查询子句,第1张

db.rawQuery("select count(*) from XX where islearned = 0 and questioncategoryname = ? ",new String[]{position} )代表查falsedb.rawQuery("select count(*) from XX where islearned = 1 or false and questioncategoryname = ? ",new String[]{position} )代表查true


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/sjk/10803015.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-11
下一篇 2023-05-11

发表评论

登录后才能评论

评论列表(0条)

保存