← BYTES
MongoDB·Starter·Ref: 28.1.11

What does it mean that MongoDB has a "flexible schema"?

Have a question about this video? Mention reference 28.1.11 when you contact us.

a.Every document in a collection must have identical fields
b.Only numeric fields are allowed
c.Schemas can never be changed once set
d.Documents in the same collection can have different fields/structures from one another
MongoDB doesn't enforce a single rigid structure across every document in a collection -- different documents in the same collection can have different fields, though applications typically still expect a consistent shape in practice.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES28111#MongoDB