Skip to main content

safe_sql_statement

Function safe_sql_statement 

Source
pub fn safe_sql_statement(
    statement_type: &str,
    table_name: &str,
    columns: &[&str],
) -> Result<String>
Expand description

Safely construct a SQL statement with proper escaping This is the main function for building safe SQL statements