OpenCQRS
OpenCQRS copied to clipboard
How to restore all database data from event store ?
Can you please more specific? What do you mean with database data? Read model?
I mean if I have event store db, and I want to recreate red store , how to do it? For all users data .
I need to add an aggregate store to get all aggregates. For each aggregate you can then get all events.
I've added the aggregate store, it will be now easier to add this feature.
I guess the idea is that when you changed logic in event handler and want to republish events to it to recreate its stored data
@lucabriguglia Thank you very much for your sample application. It is really great.
It will be a great help for us if you kindly add a sample or snippet to show how to reconstruction read model.
I have the same request as @Ilchuk-Mihail . You already mentioned you have added aggregate store
. Could you kindly share how we can use it?
Thanks for your kind help and awesome resource.
There is the new branch release/1.2 with a new sample all in the samples folder (more to come). I'll try to add a more specific sample.
I'm going to add a few specific services to achieve what requested here.