25struct SqlDataBinder<SqlNullType>
27 static LIGHTWEIGHT_FORCE_INLINE SQLRETURN InputParameter(SQLHSTMT stmt,
29 SqlNullType
const& value,
30 SqlDataBinderCallback& cb)
noexcept
40 SQLSMALLINT
const sqlType = cb.ServerType() == SqlServerType::MICROSOFT_SQL
41 ? cb.DescribeInputParameterType(column).value_or(SQL_C_CHAR)
42 : SQLSMALLINT { SQL_C_CHAR };
44 return SQLBindParameter(stmt,
53 &
const_cast<SqlNullType&
>(value).sqlValue);
56 static LIGHTWEIGHT_FORCE_INLINE std::string_view Inspect(SqlNullType
const& )
noexcept
constexpr auto SqlNullValue
SQLLEN sqlValue
The underlying SQL NULL indicator value.