AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::sql::BindableScalar Concept Reference

#include <parameters.hpp>

Concept definition

template<typename T>
concept BindableScalar = requires(const T& value) {
{ anch::sql::toParameter(value) } -> std::same_as<anch::sql::ParameterValue>;
}
Definition parameters.hpp:268
anch::sql::ParameterValue toParameter(int16_t value)

Detailed Description

Value which can be bound to a prepared statement parameter ( anch::sql::toParameter : integers, floating point numbers, booleans, strings, dates (anch::date::Date , anch::date::DateTime , anch::date::Time , std::chrono::sys_time ), anch::UUID (with ANCH_UUID ), std::optional of them)

Template Parameters
Tthe value type
Since
0.3