[][src]Module odbc_api::buffers

This module contains buffers intended to be bound to ODBC statement handles.

Structs

BindColParameters

Arguments used to descripbe the buffer then binding this column to a cursor.

OptFixedSizedColumn

Column buffer for fixed sized type, also binding an indicator buffer to handle NULL.

TextColumn

A buffer intended to be bound to a column of a cursor. Elements of the buffer will contain a variable amount of characters up to a maximum string length. Since most SQL types have a string representation this buffer can be bound to a column of almost any type, ODBC driver and driver manager should take care of the conversion. Since elements of this type have variable length an indicator buffer needs to be bound, wether the column is nullable or not, and therefore does not matter for this buffer.

TextRowSet

This row set binds a string buffer to each column, which is large enough to hold the maximum length string representation for each element in the row set at once.

Traits

ColumnBuffer

A type implementing this trait can be bound to a column of a cursor.

FixedSizedCType

Trait implemented to fixed C size types.

Type Definitions

OptDateColumn
OptF32Column
OptF64Column
OptI32Column
OptI64Column
OptNumericColumn
OptTimeColumn
OptTimestampColumn