Hello @Kasir_Barati, you cannot refer the contractors
collection document fields directly in the $lookup
's pipeline $match
stage. Please refer the above linked MongoDB documentation for the $lookup
and find correct syntax and usage.
1 Like