Trait oracle::BindIndex
[−]
[src]
pub trait BindIndex { fn idx(&self, stmt: &Statement) -> Result<usize>; unsafe fn bind(
&self,
stmt_handle: *mut dpiStmt,
var_handle: *mut dpiVar
) -> i32; }
A trait implemented by types that can index into bind values of a statement.
Required Methods
fn idx(&self, stmt: &Statement) -> Result<usize>
Returns the index of the bind value specified by self
.
unsafe fn bind(&self, stmt_handle: *mut dpiStmt, var_handle: *mut dpiVar) -> i32
Binds the specified value by using a private method.
TODO: hide this method.