Lightweight 0.20260617.0
Loading...
Searching...
No Matches
Lightweight::SqlHasRowWiseBatchBinder Concept Reference

Whether V's binder provides a row-wise batch entry point (BatchRowWiseInputParameter). More...

#include <SqlStatement.hpp>

Concept definition

template<typename V>
requires(SQLHSTMT stmt, SQLUSMALLINT column, V const* elem0, std::size_t n, SqlDataBinderCallback& cb) {
{ SqlDataBinder<V>::BatchRowWiseInputParameter(stmt, column, elem0, n, n, cb) } -> std::same_as<SQLRETURN>;
}
Whether V's binder provides a row-wise batch entry point (BatchRowWiseInputParameter).

Detailed Description

Whether V's binder provides a row-wise batch entry point (BatchRowWiseInputParameter).

Such types (e.g. std::optional of a fixed type, or inline fixed-capacity strings) need a temporary row-strided NULL/length indicator buffer, which in turn requires the row stride to keep SQLLEN indicator slots aligned. Plain indicator-free fixed values bind via InputParameter and do not satisfy this concept.

Definition at line 1223 of file SqlStatement.hpp.