我想用litepal查詢表中資料,限定條件是某列的值可以等于多個值。
就像這種:
DataSupport.where("data=https://bbs.csdn.net/topics/? or data=? or data=?","0","1","2").find(Data.class);查詢表中data列等于0或1或2的資料,但這樣寫是錯了。有知道的嗎?謝謝
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/35519.html
標籤:Android
下一篇:Android
