Module sentry::db

source ·

Re-exports

pub use self::campaign::*;

Modules

Structs

Connection configuration.
Represents a redis error. For the most part you should be using the Error trait to interact with this rather than the actual struct.

Functions

Used to insert/get Channel when creating a Campaign If channel already exists it will return it instead. This call should never trigger a SqlState::UNIQUE_VIOLATION
Lists the Channels in ASC order.
Uses the default max_size of the PoolConfig which is num_cpus::get_physical() * 4
Sets the migrations using the POSTGRES_* environment variables

Type Definitions

Type alias for using [deadpool::managed::PoolError] with tokio_postgres.