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
Hi,
I am new to DDD and I am finding this repo very helpful. Just curious about the way one to many relationship between book and patron is handled in DB in lending module.
BookOnHold (book_database_entity) entity has byPatron and holdPlacedAt which is a standard way of doing one to many relationship but there is also a PatronHolds (holds_database_entity) entity which pretty much has the same information. Can someone please explain what kind of pattern this is ? Isn't this just duplicating data in DB ?
The text was updated successfully, but these errors were encountered:
Hi,
I am new to DDD and I am finding this repo very helpful. Just curious about the way one to many relationship between book and patron is handled in DB in lending module.
BookOnHold (book_database_entity) entity has byPatron and holdPlacedAt which is a standard way of doing one to many relationship but there is also a PatronHolds (holds_database_entity) entity which pretty much has the same information. Can someone please explain what kind of pattern this is ? Isn't this just duplicating data in DB ?
The text was updated successfully, but these errors were encountered: