You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your example, you have only created a SQLAlchemyRepository for storing and retrieving Batch entities, but not Orders or Products. This lead me to confusion, What if, I want to query for all Orders or all Products?
Do we need to define SQLAlchemyRepository class for each entity? I don't think so, but at the same time, I cannot also understand how would I query for all orders and products.
The text was updated successfully, but these errors were encountered:
My question is regarding the repository pattern.
In your example, you have only created a SQLAlchemyRepository for storing and retrieving Batch entities, but not Orders or Products. This lead me to confusion, What if, I want to query for all Orders or all Products?
Do we need to define SQLAlchemyRepository class for each entity? I don't think so, but at the same time, I cannot also understand how would I query for all orders and products.
The text was updated successfully, but these errors were encountered: