'What if I multiply fields that may no be defined?

In my aggregation pipeline, there will be stage where 2 fields are multiplied to create a new field.

What happens if 1 or both of the values for those particular fields are undefined for a document?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source