Skip to main content

Module session

Module session 

Source
Expand description

Lightweight handles for database interaction.

A session is your conversation with the database. Each session can have its own transaction state, so concurrent sessions don’t interfere with each other. Sessions are cheap to create - spin up as many as you need.

Structs§

Session
Your handle to the database - execute queries and manage transactions.