Function pg_execute

Source
pub fn pg_execute(query: &str) -> Result<i64, Box<EvalAltResult>>
Expand description

Execute a query on the PostgreSQL connection

§Arguments

  • query - The query to execute

§Returns

  • Result<i64, Box<EvalAltResult>> - The number of rows affected if successful, error otherwise