maximum
relationalai.semantics.std.math
maximum(left: NumberValue, right: NumberValue) -> ExpressionFind the maximum of two values.
Parameters
Section titled “Parameters”
(leftNumberValue) - First value.
(rightNumberValue) - Second value.
Returns
Section titled “Returns”Expression- AnExpressioncomputing the maximum value. ReturnsNumberif the inputs areNumber, orFloatif the inputs areFloat.
Examples
Section titled “Examples”Find maximum of two values:
>>> select(math.maximum(Employee.salary, Employee.bonus))>>> select(math.maximum(10, Product.discount))