Lightweight 0.20261105.1
Loading...
Searching...
No Matches
Lightweight::SqlOutputColumnStaging Struct Reference

#include <Core.hpp>

Public Attributes

std::array< std::byte, sizeof(std::int64_t)> value {}
 The value the driver writes.
 
void * target = nullptr
 The bound variable.
 
SqlIndicator * indicator = nullptr
 The column's indicator.
 
SqlColumnIndex column = 0
 The 1-based column index.
 
std::uint8_t kind = 0
 Which C type the binder bound, in the binder's own terms.
 
bool booleanTrueMayBeMinusOne = false
 The dialect's form of a boolean true, for the bool binder.
 

Detailed Description

The staging a statement keeps for one bound output column whose binder converts a staged value per row (see SqlDataBinderCallback::ProvideOutputColumnStaging): the value the driver writes, and what the binder's post-fetch step needs to convert it.

Definition at line 140 of file Core.hpp.

Member Data Documentation

◆ value

std::array<std::byte, sizeof(std::int64_t)> Lightweight::SqlOutputColumnStaging::value {}

◆ target

void* Lightweight::SqlOutputColumnStaging::target = nullptr

The bound variable.

Definition at line 143 of file Core.hpp.

◆ indicator

SqlIndicator* Lightweight::SqlOutputColumnStaging::indicator = nullptr

The column's indicator.

Definition at line 144 of file Core.hpp.

◆ column

SqlColumnIndex Lightweight::SqlOutputColumnStaging::column = 0

The 1-based column index.

Definition at line 145 of file Core.hpp.

◆ kind

std::uint8_t Lightweight::SqlOutputColumnStaging::kind = 0

Which C type the binder bound, in the binder's own terms.

Definition at line 146 of file Core.hpp.

◆ booleanTrueMayBeMinusOne

bool Lightweight::SqlOutputColumnStaging::booleanTrueMayBeMinusOne = false

The dialect's form of a boolean true, for the bool binder.

Definition at line 147 of file Core.hpp.


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