New Issue Checklist
Issue Description
Steps to reproduce
I have an Aggregation in mongo shell that works fine.

But it doesn't output anything in node.js !
var pipeline = [
{
$match: {
_p_enx: "Entrix$" + req.params[KEY_ENTRIX_ID],
},
},
{
$lookup: {
from: "KeyLink",
let: {
tempPointer: {
$substr: ["$_p_klk", 8, -1],
},
},
pipeline: [
{
$match: {
$expr: {
$and: [
{
$eq: ["$$tempPointer", "$_id"],
},
],
},
},
},
],
as: "klk",
},
},
{
$match: {
$or: [
{
"klk.exp": {
$gt: new Date(),
},
},
],
},
},
];
var query = new Parse.Query(EntrixKeyLink);
let responseAggregation = await query.aggregate(pipeline, {useMasterKey: true});
I think there is a problem in new Date().
Actual Outcome
Nothing is output !
Expected Outcome
It should output like the image above
Environment
Server
- Parse Server version:
6.3.1 and 7.0.0
- Operating system:
Windows
Database
- System (MongoDB or Postgres):
MongoDB
- Database version:
7.0.8
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc):
API
- SDK version:
n/a
Logs
n/a
New Issue Checklist
Issue Description
Steps to reproduce
I have an Aggregation in mongo shell that works fine.
But it doesn't output anything in node.js !
I think there is a problem in
new Date().Actual Outcome
Nothing is output !
Expected Outcome
It should output like the image above
Environment
Server
6.3.1and7.0.0WindowsDatabase
MongoDB7.0.8Client
APIn/aLogs
n/a