PacktPublishing / Event-Driven-Architecture-in-Golang

Event-Driven Architecture in Golang, published by Packt
MIT License
336 stars 105 forks source link

GetOrder Load query from the database #13

Open Fizmath opened 3 months ago

Fizmath commented 3 months ago

Hello

In other tiers LOAD, FIND , SAVE ... functions bounded to the PostqreSQL modules for example :

FIND is bounded to the database query here

But ! how this LOAD does query the database via event-sourcing here ?

I came across this issue while implementing search order tier ; in the Postgres shell all tables were filled by my input data from the swagger , except the search.orders which was empty ...

I just wanted to add "Get All Orders" then things became convoluted ..

Thanks