MySQL 8.0.39
Source Code Documentation
|
a nullable SQL value. More...
#include <sql_value.h>
Public Types | |
using | value_type = std::optional< std::string > |
Public Member Functions | |
Value (value_type v) | |
value_type | value () const |
std::string | to_string () const |
"NULL" or the quoted string. More... | |
Private Attributes | |
value_type | value_ |
a nullable SQL value.
For now, supports NULL and strings.
Note: In the future, may switch to std::variant<> or similar to cover more types if needed.
using Value::value_type = std::optional<std::string> |
|
inline |
std::string Value::to_string | ( | ) | const |
"NULL" or the quoted string.
|
inline |
|
private |