【发布时间】:2014-05-12 07:18:12
【问题描述】:
我有以下问题
{
lessen: {
$not: {
$elemMatch: {
$and: [
{start: {$lt: new Date()}},
{eind: {$gt: new Date()}}
]
}
}
}
}
在我更新到 Meteor 0.8 之前,它运行良好。现在它抛出Error: Unrecognized operator: $and。有谁知道如何解决这个问题?
【问题讨论】:
-
我也遇到了这个问题,但是使用了 $or。有什么修复吗?