Function pg_worm::_get_client

source ·
pub fn _get_client() -> Result<&'static Client, Error>
Expand description

Get a reference to the client, if a connection has been made. Returns Err(Error::NotConnected) otherwise.