pub async fn declare(
        &mut self,
        name: String,
        stmt: Statement<Raw>,
        param_types: Vec<Option<pgrepr::Type>>,
    ) -> Result<(), CoordError> {
        self.send(|tx, session| Command::Declare {
            name,
            stmt,
            param_types,
            session,
            tx,
        })
        .await
    }
/// Binds a statement to a portal.
Binds a statement to a portal.
Binds a statement to a portal .
pub async fn declare(
        &mut self,
        name: String,
        stmt: Statement<Raw>,
        param_types: Vec<Option<pgrepr::Type>>,
    ) -> Result<(), CoordError> {
        self.send(|tx, session| Command::Declare {
            name,
            stmt,
            param_types,
            session,
            tx,
        })
        .await
    }
pub async fn declare ( & mut self , name : String , stmt : Statement < Raw > , param_types : Vec < Option < pgrepr :: Type > > , ) -> Result < ( ) , CoordError > { self . send ( | tx , session | Command :: Declare { name , stmt , param_types , session , tx , } ) . await }
Binds a statement to a portal.
Binds a statement to a portal .
&mut self
name
String
stmt
Statement<Raw>
param_types
Vec<Option<pgrepr::Type>>
&mut self
name
String
stmt
Statement<Raw>
param_types
Vec<Option<pgrepr::Type>>