guolindev / LitePal

An Android library that makes developers use SQLite database extremely easy.
Apache License 2.0
8.11k stars 1.58k forks source link

请问该怎么把数据库中userID值为null的所有数据查询出来 #791

Open houyinyu opened 2 years ago

houyinyu commented 2 years ago

后台返回的值为null,然后存进数据库中的值也为null,请问该怎么把所有这个值为null的数据查询出来。

cattcal commented 2 years ago

LitePal.where("userID is NULL")