Hello!
Is there a way to output the actual values of the variables defined in the “$let” stage of a lookup? For debug purposes, I mean.
In something like
$lookup{…
let: {source: “SOURCE”, joinKey: “$CONC_DN”, dataType: “EVALS”, endDate: {$add: [{$toDate:"$SCHEDULEDDATE"}, -(31000606024)]}},
…
I would like to see whether endDate is actually correct (3 days before the value of SCHEDULEDDATE)
Thank you in advance!