[][src]Module odbc_api::buffers

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

Structs

BufferDescription

Used to describe a column of a crate::buffers::ColumnarRowSet.

ColumnarRowSet

A columnar buffer intended to be bound with crate::Cursor::bind_buffer in order to obtain results from a cursor.

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, whether the column is nullable or not, and therefore does not matter for this buffer.

TextColumnIt

Iterator over a text column. See TextColumn::iter

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.

Enums

AnyColumnView

A borrowed view on the valid rows in a column of a crate::buffers::ColumnarRowSet.

BufferKind

This class is used together with crate::buffers::BufferDescription to specify the layout of buffers bound to ODBC cursors and statements.