Skip to main content

Module guard

Module guard 

Source
Expand description

Structural refusals applied to a statement before it is sent.

Each refusal here is driven by the syntax tree. Where the tree cannot carry the answer, the fallback reads the text produced by crate::sql::strip and never the raw statement, which is the defect measured in both reference implementations.

Structs§

Admission
A statement that passed every structural refusal.

Functions§

admit
Admits one statement, or says exactly why it is refused.
refuse_multiple_statements
Refuses a text that carries more than one command.
refuse_server_filesystem_access
Refuses a statement that reads or writes a file on the server.