macro_rules! execute_query_with_tx {
($conn:expr, $tx:expr, $query:expr, $method:ident) => { ... };
}Expand description
Executes a query with a transaction if it is provided.
ยงParameters
$conn: Database connection.$tx: Optional database transaction$query: Query to execute.$method: Method to execute on the query.