minimum
relationalai.semantics.std.math
minimum(left: NumberValue, right: NumberValue) -> ExpressionFind the minimum of two values.
Parameters
Section titled “Parameters”
(leftNumberValue) - First value.
(rightNumberValue) - Second value.
Returns
Section titled “Returns”Expression- AnExpressioncomputing the minimum value. ReturnsNumberif the inputs areNumber, orFloatif the inputs areFloat.
Examples
Section titled “Examples”Find minimum of two values:
>>> select(math.minimum(Product.list_price, Product.sale_price))>>> select(math.minimum(100, Order.total))