Function odbc_api::buffers::buffer_from_description_and_indices
source · [−]pub fn buffer_from_description_and_indices(
max_rows: usize,
description: impl Iterator<Item = (u16, BufferDescription)>
) -> ColumnarBuffer<AnyColumnBuffer>
Expand description
Allows you to pass the buffer descriptions together with a one based column index referring the column, the buffer is supposed to bind to. This allows you also to ignore columns in a result set, by not binding them at all. There is no restriction on the order of column indices passed, but the function will panic, if the indices are not unique.