Skip to main content

savepoint_sql

Function savepoint_sql 

Source
pub fn savepoint_sql(
    op: SavepointOp,
    name: &str,
    known: Option<usize>,
) -> Option<String>
Expand description

The SQL for a savepoint operation, when the name it refers to exists: RELEASE and ROLLBACK TO an unknown savepoint would abort the whole transaction on the server, so they are refused first.