]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
📝 Clarify description of in-memory SQLite database in `docs/tutorial/create-db-and...
authorSimon Weiß <SimonCW@users.noreply.github.com>
Mon, 23 Oct 2023 20:46:05 +0000 (22:46 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Oct 2023 20:46:05 +0000 (20:46 +0000)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/tutorial/create-db-and-table.md

index 52a12fa9c33d78631c771a6957c318305c3feea2..d0d27424d181cc13a6747de65c2e73691f77b6e4 100644 (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://`