我正在使用弹簧框架 mongoDB 标准。我有一个对象 A,其中 startDateTime 和 endDateTime 保存在 MongoDB 中。我想写一个查询,其中 startDateTime + minutes 小于 endDateTime。
Criteria.where("endDateTime").gte("startDateTime") plus minutes)
请帮助我编写查询。
我正在使用弹簧框架 mongoDB 标准。我有一个对象 A,其中 startDateTime 和 endDateTime 保存在 MongoDB 中。我想写一个查询,其中 startDateTime + minutes 小于 endDateTime。
Criteria.where("endDateTime").gte("startDateTime") plus minutes)
请帮助我编写查询。