What happens to to the schema when you use `embedd...
# questions
j
What happens to to the schema when you use
embedded
for a Collection like your
memberships
property?
i
Sorry, I’m not sure what you mean by ‘schema’ here.. My project uses GORM for MongoDB, and DB documents in
User
collection look like this
Copy code
{
  name: 'John Doe',
  memberships: [
    { tier: 1 }
  ]
}
so I’m not dealing with more than one collection
j
Roger that. What I meant by schema doesnt' apply. I wrongly assumed, for no good reason, you were using Hibernate. I am sorry for the noise.
i
No worries at all! I should have pointed that out
j
Good luck!
🤞🏻 1