hash
relationalai.semantics.std.common
hash(*args: Value) -> ExpressionCompute a hash value for the given arguments.
Parameters
Section titled “Parameters”
(*argsValue, default:()) - Values to hash together.
Returns
Section titled “Returns”Expression- AnExpressionrepresenting the computed hash value. ReturnsHash.
Examples
Section titled “Examples”Compute hash of a single value:
>>> select(common.hash(Person.email))Compute hash of multiple values together:
>>> select(common.hash(Order.customer_id, Order.order_date))