Expand description
Catalyst Election Database crate
Modulesยง
- common ๐
- Reusable common database objects
- config ๐
- Configuration query
- error ๐
- Database Errors
- schema_
check ๐ - Check if the schema is up-to-date.
- signed_
docs ๐ - Signed docs queries
Structsยง
- EventDB ๐
- The Catalyst Event SQL Database
Enumsยง
- Error ๐
EventDB
Errors
Constantsยง
- DATABASE_
SCHEMA_ ๐VERSION - Database version this crate matches.
Must equal the last Migrations Version Number from
event-db/migrations
.
Staticsยง
- DEEP_
QUERY_ ๐INSPECT - Is Deep Query Analysis enabled or not?
- EVENT_
DB_ ๐POOL - Postgres Connection Manager DB Pool Instance
Functionsยง
- establish_
connection - Establish a connection to the database, and check the schema is up-to-date.
Type Aliasesยง
- SqlDb
Pool ๐ - Postgres Connection Manager DB Pool