prorm API Reference
    Preparing search index...

    Enumeration Volatility

    What the planner may assume about a function.

    The two families are not interchangeable: MySQL and MariaDB take DETERMINISTIC / NOT DETERMINISTIC, the PostgreSQL family takes IMMUTABLE / STABLE / VOLATILE. Naming them here means picking the wrong one for a dialect is visible at the call site.

    Index
    Immutable: "IMMUTABLE"

    Same arguments always give the same result; required to index a call.

    Stable: "STABLE"

    Constant within one statement. PostgreSQL family.

    Volatile: "VOLATILE"

    May do anything. The default. PostgreSQL family.

    Deterministic: "DETERMINISTIC"

    MySQL / MariaDB spelling of immutable.

    NotDeterministic: "NOT DETERMINISTIC"

    MySQL / MariaDB spelling of volatile.