graphile_worker_database 0.1.5

Database driver abstraction for graphile_worker
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[path = "support/common.rs"]
mod common;
#[path = "support/executor.rs"]
mod executor;
#[path = "support/listener.rs"]
mod listener;
#[path = "support/mock.rs"]
mod mock;

pub(crate) use common::{database_url, timestamp, unique_channel};
pub(crate) use executor::exercise_database;
#[cfg(feature = "driver-tokio-postgres")]
pub(crate) use executor::exercise_executor;
pub(crate) use listener::exercise_listen;
#[cfg(feature = "driver-tokio-postgres")]
pub(crate) use listener::{expect_notification, notify, wait_for_tokio_postgres_listener_pid};
pub(crate) use mock::MockDriver;