📝 Clarify description of in-memory SQLite database in docs/tutorial/create-db-and-table.md (#601)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Simon Weiß 2023-10-23 22:46:05 +02:00 committed by GitHub
parent 1acb683f80
commit 80fd7e03cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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://`