Give me exampl code of using mongo Db.
In this example i need some event with different variables on one aggregate .
Finaly after inserted this event into db, i get last version of data aggregate with all variables
It is possible?
It’s likely better to not use mongo as the event store, Simplify event-driven architecture: The case for Axon Server over MongoDB for your event store. I’m not sure about your use case, but it sounds like it might be better to store the build up state in a projection for querying. For which Mongo is fine.