Struct odbc::Statement [] [src]

pub struct Statement<'a, S> { /* fields omitted */ }

RAII wrapper around ODBC statement

Methods

impl<'a> Statement<'a, Allocated>
[src]

Executes a preparable statement, using the current values of the parameter marker variables if any parameters exist in the statement.

SQLExecDirect is the fastest way to submit an SQL statement for one-time execution.

impl<'a> Statement<'a, Executed>
[src]

The number of columns in a result set

Can be called successfully only when the statement is in the prepared, executed, or positioned state. If the statement does not return columns the result will be 0.

Fetches the next rowset of data from the result set and returns data for all bound columns.

Return

Returns false on the last row

Trait Implementations

impl<'a, S> Handle for Statement<'a, S>
[src]

Returns a valid handle to the odbc type.