Skip to content

Commit

Permalink
📝 Clarify description of in-memory SQLite database in `docs/tutorial/…
Browse files Browse the repository at this point in the history
…create-db-and-table.md` (#601)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
  • Loading branch information
SimonCW and tiangolo authored Oct 23, 2023
1 parent 1acb683 commit 80fd7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/create-db-and-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Each supported database has it's own URL type. For example, for **SQLite** it is
* `sqlite:///databases/local/application.db`
* `sqlite:///db.sqlite`

For SQLAlchemy, there's also a special one, which is a database all *in memory*, this means that it is deleted after the program terminates, and it's also very fast:
SQLite supports a special database that lives all *in memory*. Hence, it's very fast, but be careful, the database gets deleted after the program terminates. You can specify this in-memory database by using just two slash characters (`//`) and no file name:

* `sqlite://`

Expand Down

0 comments on commit 80fd7e0

Please sign in to comment.