Struct oracle::Statement
[−]
[src]
pub struct Statement<'conn> { /* fields omitted */ }
Methods
impl<'conn> Statement<'conn>[src]
fn new(
conn: &'conn Connection,
scrollable: bool,
sql: &str,
tag: &str
) -> Result<Statement<'conn>>[src]
conn: &'conn Connection,
scrollable: bool,
sql: &str,
tag: &str
) -> Result<Statement<'conn>>
fn close(&mut self) -> Result<()>[src]
fn bind<I, T>(&mut self, bindidx: I, value: T) -> Result<()> where
I: BindIndex,
T: ToSql, [src]
I: BindIndex,
T: ToSql,
fn bind_value<I, T>(&self, bindidx: I) -> Result<T> where
I: BindIndex,
T: FromSql, [src]
I: BindIndex,
T: FromSql,
fn execute<T, U>(&mut self, params: &T) -> Result<()> where
T: ToSqlInTuple<U>, [src]
T: ToSqlInTuple<U>,
fn bind_count(&self) -> usize[src]
fn bind_names(&self) -> Vec<&str>[src]
fn column_count(&self) -> usize[src]
fn column_names(&self) -> Vec<&str>[src]
fn column_info(&self) -> &Vec<ColumnInfo>[src]
fn fetch(&mut self) -> Result<&Row>[src]
fn statement_type(&self) -> StatementType[src]
Returns statement type
fn is_returning(&self) -> bool[src]
Returns true when the SQL statement has a RETURNING INTO clause.