Skip to content

Instantly share code, notes, and snippets.

@Dana8392
Dana8392 / nosqlvssql.md
Created January 8, 2024 15:20 — forked from halitbatur/nosqlvssql.md
No SQl vs SQL discussion

Discuss the answers for these questions with you teammates and write your answers in the comments.

  1. What is the difference between SQL and NoSQL?
  2. What is referencing and what is embedding in MongoDB?
  3. Why should we embed more than referencing when we can in MongoDB?
  4. When should we prefer referencing over nesting in MongoDB?
  5. What are ORMs? Why we use them? Give an example of an SQL request with and without using ORM.
  6. What is the difference between a table and a collection?