pub fn modify_edge_if_match_synced<IfMatch, Upd>(
        &self,
        key: DocumentKey,
        update: Upd,
        if_match: IfMatch,
        keep_none: Option<bool>,
    ) -> Result<UpdatedDocumentHeader>
    where
        IfMatch: Into<String>,
        Upd: 'static + Serialize + Debug,
    {
        let edge_id = DocumentId::new(self.name(), key.unwrap());
        let modify_edge = if let Some(keep_none) = keep_none {
            ModifyEdge::new(self.graph_name(), edge_id, update).with_keep_none(keep_none)
        } else {
            ModifyEdge::new(self.graph_name(), edge_id, update)
        };
        self.execute(
            modify_edge
                .with_if_match(if_match)
                .with_force_wait_for_sync(true),
        )
    }
/// Partially modifies an existing edge if the match condition is met and
/// waits until the changes are written to disk.
///
/// The update argument must contain a document with the attributes
/// to patch (the patch document). All attributes from the patch document
/// will be added to the existing edge if they do not exist yet or
/// overwritten in the existing edge if they already exist there.
///
/// # Arguments
///
/// * `key` : The key of the edge to be modified
/// * `update` : A document with the content to be modified (patch document)
/// * `if_match` : The match condition that must be met to modify a edge
/// * `keep_none` : Whether values set to `None` shall be stored. By default
///   the attribute is not removed from the document.
Partially modifies an existing edge if the match condition is met and
waits until the changes are written to disk.

The update argument must contain a document with the attributes
to patch (the patch document). All attributes from the patch document
will be added to the existing edge if they do not exist yet or
overwritten in the existing edge if they already exist there.
Partially modifies an existing edge if the match condition is met and waits until the changes are written to disk . The update argument must contain a document with the attributes to patch ( the patch document ) . All attributes from the patch document will be added to the existing edge if they do not exist yet or overwritten in the existing edge if they already exist there .
pub fn modify_edge_if_match_synced<IfMatch, Upd>(
        &self,
        key: DocumentKey,
        update: Upd,
        if_match: IfMatch,
        keep_none: Option<bool>,
    ) -> Result<UpdatedDocumentHeader>
    where
        IfMatch: Into<String>,
        Upd: 'static + Serialize + Debug,
    {
        let edge_id = DocumentId::new(self.name(), key.unwrap());
        let modify_edge = if let Some(keep_none) = keep_none {
            ModifyEdge::new(self.graph_name(), edge_id, update).with_keep_none(keep_none)
        } else {
            ModifyEdge::new(self.graph_name(), edge_id, update)
        };
        self.execute(
            modify_edge
                .with_if_match(if_match)
                .with_force_wait_for_sync(true),
        )
    }
pub fn modify_edge_if_match_synced < IfMatch , Upd > ( & self , key : DocumentKey , update : Upd , if_match : IfMatch , keep_none : Option < bool > , ) -> Result < UpdatedDocumentHeader > where IfMatch : Into < String > , Upd : ' static + Serialize + Debug , { let edge_id = DocumentId :: new ( self . name ( ) , key . unwrap ( ) ) ; let modify_edge = if let Some ( keep_none ) = keep_none { ModifyEdge :: new ( self . graph_name ( ) , edge_id , update ) . with_keep_none ( keep_none ) } else { ModifyEdge :: new ( self . graph_name ( ) , edge_id , update ) } ; self . execute ( modify_edge . with_if_match ( if_match ) . with_force_wait_for_sync ( true ) , ) }
Partially modifies an existing edge if the match condition is met and
waits until the changes are written to disk.
Partially modifies an existing edge if the match condition is met and waits until the changes are written to disk .
&self
key
DocumentKey
update
Upd
if_match
IfMatch
keep_none
Option<bool>
&self
key
DocumentKey
update
Upd
if_match
IfMatch
keep_none
Option<bool>