Full Stack-UNIT 3
Full Stack-UNIT 3
MongoDB
String String is the most commonly used datatype. It is used to store data. A string must be UTF 8 valid in mongodb.
Integer Integer is used to store the numeric value. It can be 32 bit or 64 bit depending on the server you are using.
Boolean This datatype is used to store boolean values. It just shows YES/NO values.
Min/Max
This datatype compare a value against the lowest and highest bson elements.
Keys
Arrays This datatype is used to store a list or multiple values into a single key.
4) SQL databases are vertically scalable. NoSQL databases are horizontally scalable.
SQL databases are not best suited for NoSQL databases are best suited for
7)
hierarchical data storage. hierarchical data storage.