Skip to main content

delete_document_map_statement

Function delete_document_map_statement 

Source
pub fn delete_document_map_statement(
    table: &str,
    namespace: &str,
    subject_id: Uuid,
) -> SqlStatement
Expand description

Remove (namespace, subject_id)’s row from table’s rowid_map_table.

Order matters relative to delete_document_statement: that statement’s subquery still needs this row, so run it first, then this one, in the same transaction. Use delete_document_statements to get both in the correct order.