Suppose I have a Mongoose Schema or a Model called Address that can be used by
other Schemas and/or Models...
Like Address.cs
Something1.cs
Something2.cs
and Something1 and 2 wants to include Address as one of the attributes.
I am doing something like this as part of a MEAN Stack.
Only Something1 and Something2 are collections and not Address...
Currently, I am maintaining them as part of both Some...1 and 2..
Note: I read about subdocuments etc... like Parent and Child etc. But what if a Child want to be part of many
Parents...is my issue.
Thanks in advance.
Pramod