18 lines
438 B
C
18 lines
438 B
C
|
|
#pragma once
|
||
|
|
#define BOOST_HANA_CONFIG_ENABLE_STRING_UDL
|
||
|
|
#include <boost/hana.hpp>
|
||
|
|
#include <boost/hana/string.hpp>
|
||
|
|
namespace mix_cc {
|
||
|
|
namespace sql {
|
||
|
|
namespace op {
|
||
|
|
using namespace boost::hana::literals;
|
||
|
|
struct compare_t {
|
||
|
|
static constexpr auto eq = "="_s;
|
||
|
|
static constexpr auto lt = "<"_s;
|
||
|
|
static constexpr auto gt = ">"_s;
|
||
|
|
static constexpr auto like = "LIKE"_s;
|
||
|
|
};
|
||
|
|
} // namespace op
|
||
|
|
} // namespace sql
|
||
|
|
} // namespace mix_cc
|