Skip to content

Commit 1263024

Browse files
authored
✏️ Fix typo in docs/tutorial (#943)
1 parent 23869ca commit 1263024

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/tutorial/create-db-and-table.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ But we will talk about it later.
354354

355355
### Engine Database URL
356356

357-
Each supported database has it's own URL type. For example, for **SQLite** it is `sqlite:///` followed by the file path. For example:
357+
Each supported database has its own URL type. For example, for **SQLite** it is `sqlite:///` followed by the file path. For example:
358358

359359
* `sqlite:///database.db`
360360
* `sqlite:///databases/local/application.db`
@@ -470,7 +470,7 @@ If you didn't know about SQLAlchemy before and are just learning **SQLModel**, y
470470

471471
You can read a lot more about the engine in the <a href="https://docs.sqlalchemy.org/en/14/tutorial/engine.html" class="external-link" target="_blank">SQLAlchemy documentation</a>.
472472

473-
**SQLModel** defines it's own `create_engine()` function. It is the same as SQLAlchemy's `create_engine()`, but with the difference that it defaults to use `future=True` (which means that it uses the style of the latest SQLAlchemy, 1.4, and the future 2.0).
473+
**SQLModel** defines its own `create_engine()` function. It is the same as SQLAlchemy's `create_engine()`, but with the difference that it defaults to use `future=True` (which means that it uses the style of the latest SQLAlchemy, 1.4, and the future 2.0).
474474

475475
And SQLModel's version of `create_engine()` is type annotated internally, so your editor will be able to help you with autocompletion and inline errors.
476476

docs/tutorial/indexes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Do you like **fancy words**? Cool! Programmers tend to like fancy words. 😅
9090

9191
That <abbr title="a recipe, a sequence of predefined steps that achieve a result">algorithm</abbr> I showed you above is called **Binary Search**.
9292

93-
It's called like that because you **search** something by splitting the dictionary (or any ordered list of things) in **two** ("binary" means "two") parts. And you do that process multiple times until you find what you want.
93+
It's called that because you **search** something by splitting the dictionary (or any ordered list of things) in **two** ("binary" means "two") parts. And you do that process multiple times until you find what you want.
9494

9595
///
9696

docs/tutorial/select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ In this chapter we are touching some of them.
713713

714714
When importing from `sqlmodel` the `select()` function, you are using **SQLModel**'s version of `select`.
715715

716-
SQLAchemy also has it's own `select`, and SQLModel's `select` uses SQLAlchemy's `select` internally.
716+
SQLAchemy also has its own `select`, and SQLModel's `select` uses SQLAlchemy's `select` internally.
717717

718718
But SQLModel's version does a lot of **tricks** with type annotations to make sure you get the best **editor support** possible, no matter if you use **VS Code**, **PyCharm**, or something else. ✨
719719

0 commit comments

Comments
 (0)