Correct spelling mistakes (#1163)

Co-authored-by: collerek <collerek@gmail.com>
This commit is contained in:
Edward Betts
2023-08-15 10:56:19 +01:00
committed by GitHub
parent 930e8fb2e7
commit eea2ba0bef
24 changed files with 48 additions and 48 deletions

View File

@ -420,7 +420,7 @@ async def filter_and_sort():
async def subset_of_columns():
# to exclude some columns from loading when querying the database
# you can use fileds() method
# you can use fields() method
hobbit = await Book.objects.fields(["title"]).get(title="The Hobbit")
# note that fields not included in fields are empty (set to None)
assert hobbit.year is None