DEV Community

Discussion on: Event Sourcing: What it is and why it's awesome

Collapse
 
brightide profile image
Jarred Filmer

Would I be right in assuming that if you want to do a query on anything that isn't the aggregate id you'd have to project the entire set for the type in question first?

Thread Thread
 
barryosull profile image
Barry O Sullivan

That's exactly how you'd do it. There are lots of strategies for this, it depends on your usecase.