Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IfNull

Index

Properties

Properties

$ifNull: any[]

Returns either the non-null result of the first expression or the result of the second expression if the first expression results in a null result. Null result encompasses instances of undefined values or missing fields. Accepts two expressions as arguments. The result of the second expression can be null.

see

https://docs.mongodb.com/manual/reference/operator/aggregation/ifNull/#mongodb-expression-exp.-ifNull

Generated using TypeDoc