PgVolatility
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Declares which value changes PostgreSQL’s planner may assume for a function.
public enum PgVolatilityFields
Section titled “Fields”Immutable
Section titled “Immutable”Promises the same result for equal arguments forever, independent of database or session state.
Immutable = 2Stable
Section titled “Stable”Promises a consistent result for equal arguments throughout one statement and no database writes.
Stable = 1Volatile
Section titled “Volatile”Allows side effects and results that change between calls. This is the default.
Volatile = 0