You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: module3-crud-and-data-models/r1-schema-and-data-models/README.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,20 @@
2
2
3
3
A database schema is a blueprint or architecture of how our data will look. It doesn’t hold data itself, but instead describes the shape of the data and how it might relate to other tables or models.
4
4
5
+
<<<<<<< HEAD
5
6
For example, this is a `customer` schema in MongoDB using mongoose.
7
+
=======
8
+
A database model is a type of data model that determines the logical structure of a database. It is the high level design which defines the kind of tables, the `fields` in those tables and the `relations` between different tables.
9
+
10
+
The most popular example of a database model is the relational model, which uses a table-based format, which is the one we use in most SQL databases.
11
+
12
+
### What are database schemas?
13
+
14
+
A database schema is a `blueprint` or `architecture` of how our data will look. It doesn’t hold data itself, but instead describes the shape of the data and how it might relate to other tables or models.
15
+
16
+
For example, This is a `Customer` schema in mongoDB using mongoose.
0 commit comments