Skip to content

Glossary: Building APIs with FastAPI

In-memory database

Also written: sqlite://, StaticPool

A SQLite database kept in RAM, made with the URL `sqlite://`, that vanishes when closed. Tests use it with `StaticPool`, which makes the engine reuse one connection so the database isn't recreated empty.

Where the book teaches it

Related terms

EngineFixture