Skip to main content

check

Function check 

Source
pub fn check(sql: &str, opts: &GateOptions) -> Result<Accepted, Rejection>
Expand description

Checks one SQL string and accepts it only when it is a single read-only statement.