I've changed my data model and need to change a property of all my objects to null because deserializing them after my model changed throws an exception.
I'm guessing I could issue a patch for every document but I can't find any way to do just that, patching every document of a certain type. I need the Ids.
So I could retrieve a list of Ids for all my documents and then create a patch for every single document using those Ids. But then I'll have to retrieve the Ids without the object being deserialized, because deserialization throws an exception.
Any ideas?
You can patch documents based on an index, see http://ravendb.net/documentation/set-based
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With