Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 MongoDB Compass Community 版本 1.17.0。在尝试$match用作第一步时,它给了我这个信息
$match
从您的查询中删除new前面。Date
new
Date
用这个
{ utcDate: { $gt : Date("2019-04-01") } }
尝试删除new
{ utcDate:{$gt:Date("2019-04-01")} }