Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:42:39

0001 //
0002 // Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 
0008 #ifndef BOOST_MYSQL_DETAIL_COLDEF_VIEW_HPP
0009 #define BOOST_MYSQL_DETAIL_COLDEF_VIEW_HPP
0010 
0011 #include <boost/mysql/column_type.hpp>
0012 #include <boost/mysql/string_view.hpp>
0013 
0014 namespace boost {
0015 namespace mysql {
0016 namespace detail {
0017 
0018 struct coldef_view
0019 {
0020     string_view database;
0021     string_view table;
0022     string_view org_table;
0023     string_view name;
0024     string_view org_name;
0025     std::uint16_t collation_id;
0026     std::uint32_t column_length;  // maximum length of the field
0027     column_type type;
0028     std::uint16_t flags;
0029     std::uint8_t decimals;  // max shown decimal digits. 0x00 for int/static strings; 0x1f for
0030                             // dynamic strings, double, float
0031 };
0032 
0033 }  // namespace detail
0034 }  // namespace mysql
0035 }  // namespace boost
0036 
0037 #endif