> Think about programming if a function was immutable, or
> pure, we'd mark it as such in it's type signature
Actually, MySQL has something similar. Stored Functions can be marked as [NOT] DETERMINISTIC, to indicate that they will always return the same value given the same input.
> pure, we'd mark it as such in it's type signature
Actually, MySQL has something similar. Stored Functions can be marked as [NOT] DETERMINISTIC, to indicate that they will always return the same value given the same input.
https://dev.mysql.com/doc/refman/5.7/en/create-procedure.htm...