macro_rules! connect { ($config:literal, $tls:expr) => { ... }; }
Expand description
Convenience macro for connecting the pg-worm client
to a database server. Essentially writes the boilerplate
code needed. See the tokio_postgres
documentation for more information on the config format.
Needs tokio to work.
Panics
Panics when the connection is closed due to a fatal error.