我正在将Spring Boot与MongoDB一起使用,我想使用MongoRepository
执行以下查询。
能给我解释一下我如何执行吗?
该查询在spring-boot
find({
$or: [
{intent: "A1",itemType: "B1",itemId: "C1",isDeleted: false},{intent: "A2",itemType: "B2",itemId: "C2",{intent: "A3",itemType: "B3",itemId: "C3",]
})
列表由用户提供。 预先感谢