Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If you're correlating documents, that's within the bounds of mongo. If you're trying to replicate RDBMS features, you're either doing it wrong, or using the wrong db.
-
@SortOfTested yes correlation because of document size limit is 16 mb and some part of data is vertically expandable so i thought some sort of key indexing via collection would be a good idea. Thanks
-
@BlackSparrow
Learn you a domain driven design. Aggregates are not god objects
https://martinfowler.com/bliki/... -
Im just learning momgodb, I’m super noob when it comes to non relational databases. I don’t see the point to them besides having intact records that arent broken up in different tables for normalization for faster queries. It’s undoing all the great benefits of the relational design.
-
@d-fanelli thing with normalisation that i feel is that fully normalised database requires alot more effort when the database design might require a change due to business requirements. Its all about comfort imo.
-
mundo0349784y@d-fanelli the point is to use it when you need it not as a replacement of relational databases.
You might need mongo or similsr when you start wasting a lot of time preventing data duplication and your schema starts looking unmaintainable
Creating some sort of relational schema in mongodb is dumb or am i overthinking?
question