File indexing completed on 2025-01-18 09:42:39
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_MYSQL_DETAIL_OK_VIEW_HPP
0009 #define BOOST_MYSQL_DETAIL_OK_VIEW_HPP
0010
0011 #include <boost/mysql/string_view.hpp>
0012
0013 #include <boost/mysql/detail/flags.hpp>
0014
0015 #include <cstdint>
0016
0017 namespace boost {
0018 namespace mysql {
0019 namespace detail {
0020
0021 struct ok_view
0022 {
0023 std::uint64_t affected_rows;
0024 std::uint64_t last_insert_id;
0025 std::uint16_t status_flags;
0026 std::uint16_t warnings;
0027 string_view info;
0028
0029 bool more_results() const noexcept { return status_flags & status_flags::more_results; }
0030 bool is_out_params() const noexcept { return status_flags & status_flags::out_params; }
0031 };
0032
0033 }
0034 }
0035 }
0036
0037 #endif