Re:Building Domain Driven Microservices
by rumanator on Tuesday July 07, 2020 @02:38AM
(#23756366)
I'm not very familiar with Django thus my ability to provide relevant examples using this particular framework is limited.
However I direct your attention to the fact that Django docs make it very clear that to them in general each model maps to a single database table. That's quite Spartan even for an ORM, and obviously the point of a domain model is to model a problem domain, not to model the database.
However I direct your attention to the fact that Django docs make it very clear that to them in general each model maps to a single database table. That's quite Spartan even for an ORM, and obviously the point of a domain model is to model a problem domain, not to model the database.