ApplyPatch() public method

public ApplyPatch ( string docId, System.Guid etag, PatchRequest patchDoc, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : PatchResult
docId string
etag System.Guid
patchDoc PatchRequest
transactionInformation Raven.Abstractions.Data.TransactionInformation
return PatchResult
 public JArray UpdateByIndex(string indexName, IndexQuery queryToUpdate, PatchRequest[] patchRequests, bool allowStale)
 {
     return(PerformBulkOperation(indexName, queryToUpdate, allowStale, (docId, tx) =>
     {
         var patchResult = database.ApplyPatch(docId, null, patchRequests, tx);
         return new { Document = docId, Result = patchResult };
     }));
 }