Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Cmp

Index

Properties

Properties

$cmp: [any, any]

Returns 0 if the two values are equivalent, 1 if the first value is greater than the second, and -1 if the first value is less than the second.

see

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

Generated using TypeDoc