Sie müssen preserveNullAndEmptyArrays hinzufügen -Eigenschaft in Ihrem $unwind Vorgang wie folgt:
{
$unwind:
{
path: "$applications",
preserveNullAndEmptyArrays: true
}
}
Sie müssen preserveNullAndEmptyArrays hinzufügen -Eigenschaft in Ihrem $unwind Vorgang wie folgt:
{
$unwind:
{
path: "$applications",
preserveNullAndEmptyArrays: true
}
}