$set (aggregation)
An aggregation stage that keeps every field and adds or replaces the ones you give. Unlike `$project`, it doesn't drop other fields.
An aggregation stage that keeps every field and adds or replaces the ones you give. Unlike `$project`, it doesn't drop other fields.