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: docs/databases.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ Some examples of databases that work like this could be **PostgreSQL**, **MySQL*
85
85
86
86
### Distributed servers
87
87
88
-
In some cases, the database could even be a group server applications running on different machines, working together and communicating between them to be more efficient and handle more data.
88
+
In some cases, the database could even be a group of server applications running on different machines, working together and communicating between them to be more efficient and handle more data.
89
89
90
90
In this case, your code would talk to one or more of these server applications running on different machines.
Copy file name to clipboardExpand all lines: docs/tutorial/connect/create-connected-tables.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ Most of that should look familiar:
107
107
108
108
The column will be named `team_id`. It will be an integer, and it could be `NULL` in the database (or `None` in Python), becase there could be some heroes that don't belong to any team.
109
109
110
-
As we don't have to explicitly pass `team_id=None` when creating a hero, we add a default of `None` to the `Field()`.
110
+
We add a default of `None` to the `Field()` so we don't have to explicitly pass `team_id=None` when creating a hero.
Copy file name to clipboardExpand all lines: docs/tutorial/select.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,9 +97,9 @@ FROM hero
97
97
98
98
That would end up in the same result. Although we won't use that for **SQLModel**.
99
99
100
-
### `SELECT`Less Columns
100
+
### `SELECT`Fewer Columns
101
101
102
-
We can also `SELECT`less columns, for example:
102
+
We can also `SELECT`fewer columns, for example:
103
103
104
104
```SQL
105
105
SELECT id, name
@@ -150,7 +150,7 @@ Another variation is that most of the SQL keywords like `SELECT` can also be wri
150
150
151
151
This is the interesting part. The tables returned by SQL databases **don't have to exist** in the database as independent tables. 🧙
152
152
153
-
For example, in our database, we only have one table that has all the columns, `id`, `name`, `secret_name`, `age`. And here we are getting a result table with less columns.
153
+
For example, in our database, we only have one table that has all the columns, `id`, `name`, `secret_name`, `age`. And here we are getting a result table with fewer columns.
154
154
155
155
One of the main points of SQL is to be able to keep the data structured in different tables, without repeating data, etc, and then query the database in many ways and get many different tables as a result.
0 commit comments