mysql/test/common/test_connection.hpp
Ruben Perez ed007e31ae Multi-resultset
Added support for running stored procedures that SELECT data
Added support for running multiple semicolon-separated queries
Added support for running stored procedures with OUT params
Added resultset and resultset_view
Fixed documentation typos and wording
Refactored object creation in tests

Close #133
Close #132
Close #8
2023-03-31 00:44:46 +02:00

32 lines
761 B
C++

//
// Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_MYSQL_TEST_COMMON_TEST_CONNECTION_HPP
#define BOOST_MYSQL_TEST_COMMON_TEST_CONNECTION_HPP
#include <boost/mysql/connection.hpp>
#include "test_channel.hpp"
#include "test_stream.hpp"
namespace boost {
namespace mysql {
namespace test {
using test_connection = connection<test_stream>;
inline test_channel& get_channel(test_connection& conn) noexcept
{
return boost::mysql::detail::connection_access::get_channel(conn);
}
} // namespace test
} // namespace mysql
} // namespace boost
#endif