Module prelude

Source
Expand description

Commonly used structs and re-exports.

Re-exports§

pub use crate::parameters::Parameter;
pub use crate::parameters::ParameterFormat;
pub use crate::parameters::ParameterValue;
pub use crate::parameters::Parameters;
pub use crate::Context;
pub use crate::ReadWrite;
pub use crate::Route;
pub use crate::Shard;
pub use crate::pg_query;

Attribute Macros§

fini
Generate the pgdog_fini method that runs at PgDog shutdown.
init
Generate the pgdog_init method that’s executed at plugin load time.
route
Generates the pgdog_route method for routing queries.