23 lines
692 B
C
23 lines
692 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 cmd_t {
|
||
|
|
static constexpr auto s_text = ""_s;
|
||
|
|
static constexpr auto select = "SELECT"_s;
|
||
|
|
static constexpr auto delete_from = "DELETE FROM"_s;
|
||
|
|
static constexpr auto insert_into = "INSERT INTO"_s;
|
||
|
|
static constexpr auto update = "UPDATE"_s;
|
||
|
|
static constexpr auto from = "FROM"_s;
|
||
|
|
static constexpr auto where = "WHERE"_s;
|
||
|
|
static constexpr auto values = "VALUES"_s;
|
||
|
|
static constexpr auto set = "SET"_s;
|
||
|
|
};
|
||
|
|
} // namespace op
|
||
|
|
} // namespace sql
|
||
|
|
} // namespace mix_cc
|