Codele / How software is built
NoSQL and when to use it
Tables are not the only way to store data. A document store keeps each thing as one whole card, found by its key.
- A document store keeps each thing as one whole card, like a JSON object, found by its key.
- Tables have a strict shape and shine at questions across everything, such as totals.
- Documents have a flexible shape and shine at fetching one thing fast by its key.
- Such stores are often called NoSQL. Neither kind is better; pick by the questions you will ask.
Loading the playable lesson…