plus

Sums two aggregation values.

Example

class Product(
val name: String,
val price: Int,
val dailyPriceIncrease: Int,
)

collection.updateManyWithPipeline {
set {
Product::price set (of(Product::price) + of(Product::dailyPriceIncrease))
}
}

External resources