✏ Fix typos in docs/tutorial/automatic-id-none-refresh.md
, docs/tutorial/fastapi/update.md
, docs/tutorial/select.md
(#185)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
parent
34e125357f
commit
015f7acbc5
@ -4,7 +4,7 @@ Now let's see how to update data in the database with a **FastAPI** *path operat
|
|||||||
|
|
||||||
## `HeroUpdate` Model
|
## `HeroUpdate` Model
|
||||||
|
|
||||||
We want clients to be able to udpate the `name`, the `secret_name`, and the `age` of a hero.
|
We want clients to be able to update the `name`, the `secret_name`, and the `age` of a hero.
|
||||||
|
|
||||||
But we don't want them to have to include all the data again just to **update a single field**.
|
But we don't want them to have to include all the data again just to **update a single field**.
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ You can try that out in **DB Browser for SQLite**:
|
|||||||
|
|
||||||
### A SQL Shortcut
|
### A SQL Shortcut
|
||||||
|
|
||||||
If we want to get all the columns like in this case above, in SQL there's a shortcut, instead of specifying each of the column names wew could write a `*`:
|
If we want to get all the columns like in this case above, in SQL there's a shortcut, instead of specifying each of the column names we could write a `*`:
|
||||||
|
|
||||||
```SQL
|
```SQL
|
||||||
SELECT *
|
SELECT *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user