Skip to content

Commit f477655

Browse files
authored
Fix typo
Fix typo in Section 19: SQL-first, Pydantic-second
1 parent ae98be9 commit f477655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ async def get_creator_posts(creator: Mapping = Depends(valid_creator_id)):
837837
return posts
838838
```
839839

840-
If an aggregated data form DB is a simple JSON, then take a look at Pydantic's `Json` field type,
840+
If aggregated data from the DB is a simple JSON, then take a look at Pydantic's `Json` field type,
841841
which will load raw JSON first.
842842
```python
843843
from pydantic import BaseModel, Json

0 commit comments

Comments
 (0)