c# - RavenDB batch update -
I am trying to update the batch for a list of raven documents. The code below
var result = documentStore.DatabaseCommands.Batch (documents.Select (d = & gt; New PutCommandData {document = RavenJObject.FromObject (d), Etag = null, key = D id, metadata = new raven joebase (),}). OfType & lt; ICommandData & gt; ());
Although there is no exception and the correct update timestamp occurs in the result of the batch, none of the updated documents in Raven.
The same result
Has anyone experienced the same behavior? It seems that I'm missing something with batch updates.
Appreciate any help and concerns.
Comments
Post a Comment