Skip to main content

check_sql

Function check_sql 

Source
pub async fn check_sql(
    sql: &str,
    options: GateOptions,
) -> Result<Accepted, ToolError>
Expand description

Gates SQL on a blocking thread, since a long parse must not stall the runtime; a rejection is a tool error.