26#ifndef ROUTING_SQL_VALUE_INCLUDED
27#define ROUTING_SQL_VALUE_INCLUDED
62 if (!lhs.
value())
return false;
64 return std::string_view(*(lhs.
value())) == rhs;
a nullable SQL value.
Definition: sql_value.h:40
const value_type & value() const &
Definition: sql_value.h:46
std::optional< std::string > value_type
Definition: sql_value.h:42
Value(value_type v)
Definition: sql_value.h:44
std::string to_string() const
"NULL" or the quoted string.
Definition: sql_value.cc:93
value_type value_
Definition: sql_value.h:54
Definition: gcs_xcom_synode.h:64
bool operator==(const Value &lhs, const Value &rhs)
Definition: sql_value.h:57
bool operator!=(const Value &lhs, const Value &rhs)
Definition: sql_value.h:67