Rindle docs and package mapSkip to main content

shape_public_sql_request

Function shape_public_sql_request 

pub fn shape_public_sql_request(
    path: &str,
    body: &Value,
    now_ms: i64,
) -> Option<Result<PublicSqlRequest, PublicSqlRejection>>
Expand description

Shape one public SQL path/body pair. None means the path is not a recognized public SQL route and lets the host preserve its ordinary 404 behavior.