Skip to content

maximum

relationalai.semantics.std.math
maximum(left: NumberValue, right: NumberValue) -> Expression

Find the maximum of two values.

  • Expression - An Expression computing the maximum value. Returns Number if the inputs are Number, or Float if the inputs are Float.

Find maximum of two values:

>>> select(math.maximum(Employee.salary, Employee.bonus))
>>> select(math.maximum(10, Product.discount))