Sessions & queries

The engine and the session

Two more pieces make the DB usable: an engine (a live connection to the actual database file/server) and a session (one conversation with the database โ€” you open it, do some work, close it). Read the whole file โ€” it's short.