【发布时间】:2020-05-06 12:41:35
【问题描述】:
我无法在SpringDataMongoDb 中使用$where。
有没有办法在SpringBoot 中实现这一点?
db.getCollection('my_collection').find({ $where : function(){
for (var key in this.action_status){
return this.action_status[key] == false;
}
}})
谢谢。
【问题讨论】:
标签: java spring-boot mongodb-query where-clause spring-data-mongodb