We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, The following aggregation is not working:
let aggregation = [ { match: { lastSeenDate: { $lte: date } } }, { lookup:{ from: "_User", localField: "userId", foreignField: "_id", as: "user" } }, { unwind: { path: "$user" } }, { lookup: { from: "Closet", localField: "ownerId", foreignField: "user._id", as: "closet" } }, { unwind: { path: "$closet" } }, { limit: 10 } ];
If I remove one of the lookups from the aggregation it works as expected but it doesn't work if I add another lookup to the query.
I tried to use the same aggregation in a MongoDB GUI client (3T Studio) and there it works well.
I wanted to know if there is a limitation to one lookup only?
Thanks!
The text was updated successfully, but these errors were encountered:
What version of parse server and JS SDK are you running?
Sorry, something went wrong.
Hi @dplewis I'm still on parse-server 2.8.4 which use JS SDK 1.11.1
I cannot upgrade now to Parse 3 because I have a lot of cloud code functions which needs to migrated.
This has already been addressed #4835
Released on Parse 3
No branches or pull requests
Hi,
The following aggregation is not working:
If I remove one of the lookups from the aggregation it works as expected but it doesn't work if I add another lookup to the query.
I tried to use the same aggregation in a MongoDB GUI client (3T Studio) and there it works well.
I wanted to know if there is a limitation to one lookup only?
Thanks!
The text was updated successfully, but these errors were encountered: