Who*_*are 2 spring mongodb
我开发了春季项目。我正在使用 mongodb 和 spring 数据。
我需要支持。
Query query = new Query(Criteria.where("owner.$id").is(user.getId()).( and("idea.$id").is(null));)
我要那个 ("idea.$id").is( not null)
("idea.$id").is( not null)
我能怎么做?
use*_*814 7
您正在寻找$ne运营商。
$ne
(and("idea.$id").ne(null))
归档时间:
9 年,10 月 前
查看次数:
8210 次
最近记录: