File indexing completed on 2025-01-18 09:42:39
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_MYSQL_DETAIL_FLAGS_HPP
0009 #define BOOST_MYSQL_DETAIL_FLAGS_HPP
0010
0011 #include <cstdint>
0012
0013 namespace boost {
0014 namespace mysql {
0015 namespace detail {
0016
0017 namespace column_flags {
0018
0019 constexpr std::uint16_t not_null = 1;
0020 constexpr std::uint16_t pri_key = 2;
0021 constexpr std::uint16_t unique_key = 4;
0022 constexpr std::uint16_t multiple_key = 8;
0023 constexpr std::uint16_t blob = 16;
0024 constexpr std::uint16_t unsigned_ = 32;
0025 constexpr std::uint16_t zerofill = 64;
0026 constexpr std::uint16_t binary = 128;
0027 constexpr std::uint16_t enum_ = 256;
0028 constexpr std::uint16_t auto_increment = 512;
0029 constexpr std::uint16_t timestamp = 1024;
0030 constexpr std::uint16_t set = 2048;
0031 constexpr std::uint16_t no_default_value = 4096;
0032 constexpr std::uint16_t on_update_now = 8192;
0033 constexpr std::uint16_t part_key = 16384;
0034 constexpr std::uint16_t num = 32768;
0035
0036 }
0037
0038 namespace status_flags {
0039
0040 constexpr std::uint32_t more_results = 8;
0041 constexpr std::uint32_t out_params = 4096;
0042
0043 }
0044
0045 }
0046 }
0047 }
0048
0049 #endif