/// Applies a remove operation by deleting the entity from Postgres.
Applies a remove operation by deleting the entity from Postgres.
Applies a remove operation by deleting the entity from Postgres .
fn apply_remove_operation(
        &self,
        conn: &e::Connection,
        key: EntityKey,
        event_source: EventSource,
    ) -> Result<(), StoreError> {
        conn.delete(&key, event_source).map(|_| ()).map_err(|e| {
            format_err!(
                "Failed to remove entity ({}, {}, {}): {}",
                key.subgraph_id,
                key.entity_type,
                key.entity_id,
                e
            )
            .into()
        })
    }
fn apply_remove_operation ( & self , conn : & e :: Connection , key : EntityKey , event_source : EventSource , ) -> Result < ( ) , StoreError > { conn . delete ( & key , event_source ) . map ( | _ | ( ) ) . map_err ( | e | { format_err ! ( " " key subgraph_id key entity_type key entity_id e ) . into ( ) } ) }
Applies a remove operation by deleting the entity from Postgres.
Applies a remove operation by deleting the entity from Postgres .
&self
conn
&e::Connection
key
EntityKey
event_source
EventSource