DIRECTONLY top-level constant

int const DIRECTONLY

The SQLITE_DIRECTONLY flag means that the function may only be invoked from top-level SQL, and cannot be used in VIEWs or TRIGGERs nor in schema structures such as CHECK constraints, DEFAULT clauses, expression indexes, partial indexes, or generated columns.

The SQLITE_DIRECTONLY flags is a security feature which is recommended for all application-defined SQL functions, and especially for functions that have side-effects or that could potentially leak sensitive information.

Implementation

const DIRECTONLY = 0x000080000;