Pipeline Practice

Classify priority orders

`$cond` chooses one of two values from a boolean expression. It is the foundation of readable business classification inside a pipeline.

Add `priority: "high"` when total is at least 200; otherwise add `priority: "standard"`.

Expected result: All 12 orders with a correct priority field.

Example pipeline syntax

[
  { $set: { priority: "standard" } }
]