т
Size: a a a
т
т
R
async find() {
const data = await this.userModel.find({})
.populate([{
path: 'result',
populate: [{path: 'object'}],
}])
.find({result: {object: {date: { $lte: new Date() } }}}).exec()
return data;
}
UnhandledPromiseRejectionWarning: CastError: Cast to ObjectId failed for value
👨M
async find() {
const data = await this.userModel.find({})
.populate([{
path: 'result',
populate: [{path: 'object'}],
}])
.find({result: {object: {date: { $lte: new Date() } }}}).exec()
return data;
}
UnhandledPromiseRejectionWarning: CastError: Cast to ObjectId failed for value
R
👨M
R
CM
r
r
r
r
r
Н
M
Н
r
АП
M
r