Hello, I have a doubt with event store, I don’t understand how it saves the information and with what scheme, is it a table and that’s it? For example, in sql are the tables with their relationships, being that here they would be saving events as the information is saved
there are 2 concepts :
Events
Streams.
The events carry information and have a type
the streams are uniquely named
The pattern is a "stream per instance "
The analogy would be :
rows in tables would be streams & events the changes to that row .
e.G invoice + items table ( this is just a sample and a bit of a 1st order model)
each invoice row + items rows becomes a stream and all changes are kept as events .
These videos
should help you out with that sample :
1 Like