Function pg_query
Source pub fn pg_query(query_str: &str) -> Result<Array, Box<EvalAltResult>>
Expand description
Execute a query on the PostgreSQL connection and return the rows
§Arguments
query
- The query to execute
§Returns
Result<Array, Box<EvalAltResult>>
- The rows if successful, error otherwise