Expand description
Authorizer callback trait (§9.4).
The authorizer is consulted during statement compilation (not execution) to allow or deny access to database objects and operations. This enables sandboxing untrusted SQL.
The Authorizer trait mirrors SQLite’s sqlite3_set_authorizer API:
each callback receives an AuthAction code plus up to four optional
string parameters providing context (table name, column name, database
name, trigger name).
Enums§
- Auth
Action - SQL operation being authorized.
- Auth
Result - Result of an authorization check.
Traits§
- Authorizer
- Statement authorizer callback (§9.4).
Type Aliases§
- Authorizer
Action - Alias for
AuthAction(legacy name). - Authorizer
Decision - Alias for
AuthResult(legacy name).