Where is the exactly .db file if I use sqlite code in the example

19 views
Skip to first unread message

Ryan Lee

unread,
Dec 6, 2022, 11:25:41 AM12/6/22
to sqlalchemy
https://docs.sqlalchemy.org/en/14/orm/quickstart.html#create-an-engine

```
engine = create_engine("sqlite://", echo=True, future=True)
```
If I use the code in example ,
I cannot find the exact file , where is it ? 

Lele Gaifax

unread,
Dec 6, 2022, 12:56:57 PM12/6/22
to sqlal...@googlegroups.com
Accordingly to
https://docs.sqlalchemy.org/en/14/dialects/sqlite.html#connect-strings,
that syntax is equivalent to sqlite://:memory:, and thus there is no
file involved.

ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
le...@metapensiero.it | -- Fortunato Depero, 1929.

Ryan Lee

unread,
Dec 6, 2022, 4:45:33 PM12/6/22
to sqlalchemy
thank you   I understand

2022년 12월 7일 수요일 오전 2시 56분 57초 UTC+9에 leleg...@gmail.com님이 작성:

Siarhei Siarhei

unread,
Dec 8, 2022, 7:05:27 AM12/8/22
to sqlalchemy
"sqlite+aiosqlite:///./db.sqlite3/"

среда, 7 декабря 2022 г. в 00:45:33 UTC+3, Ryan Lee:
Reply all
Reply to author
Forward
0 new messages