pub fn new_pooled(url: Url) -> Result<Self, QueryError> {
        let pool = quaint::pool::postgres(url)?;
        let handle = ConnectionPool::Pool(pool);

        Ok(Postgresql {
            conn: handle,
            runtime: super::default_runtime(),
        })
    }
/// Create a new connection pool.
Create a new connection pool.
Create a new connection pool .
pub fn new_pooled(url: Url) -> Result<Self, QueryError> {
        let pool = quaint::pool::postgres(url)?;
        let handle = ConnectionPool::Pool(pool);
        Ok(Postgresql {
            conn: handle,
            runtime: super::default_runtime(),
        })
    }
pub fn new_pooled ( url : Url ) -> Result < Self , QueryError > { let pool = quaint :: pool :: postgres ( url ) ? ; let handle = ConnectionPool :: Pool ( pool ) ; Ok ( Postgresql { conn : handle , runtime : super :: default_runtime ( ) , } ) }
Create a new connection pool.
Create a new connection pool .
url
Url
url
Url