You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to use $lookup operator in aggregatePaginate. The expected result property (products in query below) is always null and excluded from the results document at all. It's otherwise working fine without paginate (using aggregate method)
Actually, I figured it out. I was passing my pipeline stages to aggregatePaginate instead of an aggregate.
I don't exactly remember that problem, yet I clearly remember that I opted out of it and rather wrote my custom aggregate. I would definitely reproduce it and try your solution.
Edit: infact my problem was that I wanted to aggregate with paginate and that did never work for me, so I wrote custom logic.
I'm unable to use
$lookup
operator inaggregatePaginate
. The expected result property (products in query below) is always null and excluded from the results document at all. It's otherwise working fine without paginate (usingaggregate
method)Following is the query, I'm running.
The text was updated successfully, but these errors were encountered: