div
open operator fun <Context : Any, Result> Value<Context, Result>.div(other: Value<Context, Result>): Value<Context, Result>(source)
Divides one aggregation value by another.
Example
class ConferencePlanning(
val hours: Int,
val workdays: Double,
)
collection.updateManyWithPipeline {
set {
ConferencePlanning::workdays set (of(ConferencePlanning::hours) / of(8))
}
}
Content copied to clipboard