From: Simon Weiß Date: Mon, 23 Oct 2023 20:46:05 +0000 (+0200) Subject: 📝 Clarify description of in-memory SQLite database in `docs/tutorial/create-db-and... X-Git-Tag: 0.0.9~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80fd7e03cf361e49b473057df815e953e4653e20;p=thirdparty%2Ffastapi%2Fsqlmodel.git 📝 Clarify description of in-memory SQLite database in `docs/tutorial/create-db-and-table.md` (#601) Co-authored-by: Sebastián Ramírez --- diff --git a/docs/tutorial/create-db-and-table.md b/docs/tutorial/create-db-and-table.md index 52a12fa9..d0d27424 100644 --- a/docs/tutorial/create-db-and-table.md +++ b/docs/tutorial/create-db-and-table.md @@ -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://`