nanodbc
A small C++ wrapper for the native C ODBC API
Loading...
Searching...
No Matches
nanodbc::batch_ops Struct Reference

A type capturing parameter array length as well as number of rows in a rowset of a result. More...

#include <nanodbc.h>

Public Member Functions

 batch_ops () noexcept
 Creates lengths of -1, meaning neither has been chosen.
 
 batch_ops (const long all_length) noexcept
 Creates both lengths with the same value.
 

Public Attributes

long parameter_array_length
 Number of parameter values bound per execution.
 
long rowset_size
 Number of rows fetched into a rowset at a time.
 

Detailed Description

A type capturing parameter array length as well as number of rows in a rowset of a result.

Constructor & Destructor Documentation

◆ batch_ops()

nanodbc::batch_ops::batch_ops ( const long  all_length)
inlinenoexcept

Creates both lengths with the same value.

Parameters
all_lengthValue used for the parameter array length and the rowset size.

The documentation for this struct was generated from the following file: