Skip to main content

Module database

Module database 

Source
Expand description

A connection pool to the schedr database, and schema migration and checks.

Structs§

Database
A connection pool to the schedr database, and the lease its writes are fenced by, if any.

Enums§

DbError
Why a database operation failed.
Pool
The connection pool of a Database.

Constants§

DEFAULT_QUERY_TIMEOUT
The longest a query may take by default (query_timeout).