Skip to content

Commit 22faa19

Browse files
maiku1008tiangolo
andauthored
✏️ Fix small typos in docs (#481)
Fix small typos Fixing small typos here and there while reading the document. Co-authored-by: Sebastián Ramírez <[email protected]>
1 parent 3a9244c commit 22faa19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/tutorial/where.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ Instead, it results in a special type of object. If you tried that in an interac
311311
<sqlalchemy.sql.elements.BinaryExpression object at 0x7f4aec0d6c90>
312312
```
313313

314-
So, that result value is an **expession** object. 💡
314+
So, that result value is an **expression** object. 💡
315315

316316
And `.where()` takes one (or more) of these **expression** objects to update the SQL statement.
317317

@@ -421,7 +421,7 @@ Of course, the keyword arguments would have been a bit shorter.
421421

422422
But with the **expressions** your editor can help you a lot with autocompletion and inline error checks. ✨
423423

424-
Let me give you an example. Let's imagine that keword arguments were supported in SQLModel and you wanted to filter using the secret identity of Spider-Boy.
424+
Let me give you an example. Let's imagine that keyword arguments were supported in SQLModel and you wanted to filter using the secret identity of Spider-Boy.
425425

426426
You could write:
427427

@@ -436,7 +436,7 @@ Maybe your code could even run and seem like it's all fine, and then some months
436436

437437
And maybe finally you would realize that we wrote the code using `secret_identity` which is not a column in the table. We should have written `secret_name` instead.
438438

439-
Now, with the the expressions, your editor would show you an error right away if you tried this:
439+
Now, with the expressions, your editor would show you an error right away if you tried this:
440440

441441
```Python
442442
# Expression ✨
@@ -694,7 +694,7 @@ age=35 id=5 name='Black Lion' secret_name='Trevor Challa'
694694
!!! tip
695695
We get `Black Lion` here too because although the age is not *strictly* less than `35` it is *equal* to `35`.
696696

697-
### Benefits of Expresions
697+
### Benefits of Expressions
698698

699699
Here's a good moment to see that being able to use these pure Python expressions instead of keyword arguments can help a lot. ✨
700700

0 commit comments

Comments
 (0)