Skip to main content

execute_query

Function execute_query 

Source
pub async fn execute_query(
    connection_url: &str,
    query: &str,
    params: &[Value],
    read_only: bool,
    max_rows: usize,
    timeout: Duration,
) -> Result<Vec<Map<String, Value>>>
Expand description

Execute a SQL query against the given connection URL and return the result rows as JSON objects.