Database connections
Depending on your choice of driver (sync or async) and pooling, your generated queries will accept different types of connections.
The following list details supported connections for each configuration.
Sync
postgres::Clientpostgres::Transaction
Async
tokio_postgres::Clienttokio_postgres::Transaction
Async + Deadpool
tokio_postgres::Clienttokio_postgres::Transactiondeadpool_postgres::Clientdeadpool_postgres::Transaction