SpringBoot 无法解析符号 '$in'

问题描述 投票:0回答:0

我正在将 springBoot 应用程序与存储库中的 mongo 数据库连接起来,如下所示:

''' @Query(value = "{'deleted':{$in:[true]}}") '''

它给我一个错误“无法解析 $in” 我在 $in

上的@repository 中出错
mongodb spring-boot jpa intellij-idea spring-data-jpa
© www.soinside.com 2019 - 2024. All rights reserved.