Patch all documents in index setting "Timestamp" property to @metadata.Last-Modified

22 views
Skip to first unread message

Mauro D.

unread,
Jul 27, 2016, 9:16:37 AM7/27/16
to RavenDB - 2nd generation document database
I have a problem: we are still in RavenDb 1.0, we need to patch all documents with Last-Modified time greater that 2016-07-19 and set "Timestamp" property of each document to the value of @metadata.Last-Modified and another property with a fixed value.

I have access to Raven Studio.

Is it possible to make that patching request via Studio? Or is it possible to get all that documents in JSON and make changes in text file then import the new text file in Raven?

Thanks

Oren Eini (Ayende Rahien)

unread,
Jul 27, 2016, 9:59:58 AM7/27/16
to ravendb
I don't think that it would be possible via patching in 1.0
Read the docs and modify them

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages