Struct odbc_api::CursorImpl [−][src]
pub struct CursorImpl<Stmt: BorrowMutStatement> { /* fields omitted */ }
Expand description
Cursors are used to process and iterate the result sets returned by executing queries. Created
by either a prepared query or direct execution. Usually utilized through the crate::Cursor
trait.
Trait Implementations
type Statement = S::Statement
type Statement = S::Statement
Statement type of the cursor. This is always an instantiation of
crate::handles::Statement
with a generic parameter indicating the lifetime of the
associated connection. Read more
Provides access to the underlying statement handle. Read more
fn describe_col(
&self,
column_number: u16,
column_description: &mut ColumnDescription
) -> Result<(), Error>
fn describe_col(
&self,
column_number: u16,
column_description: &mut ColumnDescription
) -> Result<(), Error>
Fetch a column description using the column index. Read more
Number of columns in result set.
true
if a given column in a result set is unsigned or not a numeric type, false
otherwise. Read more
fn bind_buffer<B>(
self,
row_set_buffer: B
) -> Result<RowSetCursor<Self, B>, Error> where
B: RowSetBuffer,
fn bind_buffer<B>(
self,
row_set_buffer: B
) -> Result<RowSetCursor<Self, B>, Error> where
B: RowSetBuffer,
Binds this cursor to a buffer holding a row set.
Data type of the specified column. Read more
Returns the size in bytes of the columns. For variable sized types the maximum size is returned, excluding a terminating zero. Read more
Maximum number of characters required to display data from the column. Read more
Precision of the column. Read more
The applicable scale for a numeric data type. For DECIMAL and NUMERIC data types, this is the defined scale. It is undefined for all other data types. Read more
The column alias, if it applies. If the column alias does not apply, the column name is returned. If there is no column name or a column alias, an empty string is returned. Read more
Use this if you want to iterate over all column names and allocate a String
for each one. Read more