fn apply_entity_operation(
        &self,
        conn: &e::Connection,
        operation: EntityOperation,
        event_source: EventSource,
    ) -> Result<(), StoreError> {
        match operation {
            EntityOperation::Set { key, data } => {
                self.apply_set_operation(conn, key, data, event_source)
            }
            EntityOperation::Update { key, data, guard } => {
                self.apply_update_operation(conn, key, data, guard, event_source)
            }
            EntityOperation::Remove { key } => self.apply_remove_operation(conn, key, event_source),
            EntityOperation::AbortUnless {
                description,
                query,
                entity_ids,
            } => self.apply_abort_unless_operation(
                conn,
                description,
                query,
                entity_ids,
                event_source,
            ),
        }
    }
/// Apply an entity operation in Postgres.
Apply an entity operation in Postgres.
Apply an entity operation in Postgres .
fn apply_entity_operation(
        &self,
        conn: &e::Connection,
        operation: EntityOperation,
        event_source: EventSource,
    ) -> Result<(), StoreError> {
        match operation {
            EntityOperation::Set { key, data } => {
                self.apply_set_operation(conn, key, data, event_source)
            }
            EntityOperation::Update { key, data, guard } => {
                self.apply_update_operation(conn, key, data, guard, event_source)
            }
            EntityOperation::Remove { key } => self.apply_remove_operation(conn, key, event_source),
            EntityOperation::AbortUnless {
                description,
                query,
                entity_ids,
            } => self.apply_abort_unless_operation(
                conn,
                description,
                query,
                entity_ids,
                event_source,
            ),
        }
    }
fn apply_entity_operation ( & self , conn : & e :: Connection , operation : EntityOperation , event_source : EventSource , ) -> Result < ( ) , StoreError > { match operation { EntityOperation :: Set { key , data } => { self . apply_set_operation ( conn , key , data , event_source ) } EntityOperation :: Update { key , data , guard } => { self . apply_update_operation ( conn , key , data , guard , event_source ) } EntityOperation :: Remove { key } => self . apply_remove_operation ( conn , key , event_source ) , EntityOperation :: AbortUnless { description , query , entity_ids , } => self . apply_abort_unless_operation ( conn , description , query , entity_ids , event_source , ) , } }
Apply an entity operation in Postgres.
Apply an entity operation in Postgres .
&self
conn
&e::Connection
operation
EntityOperation
event_source
EventSource
&self
conn
&e::Connection
operation
EntityOperation
event_source
EventSource