Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:58:28

0001 //
0002 // Copyright (c) 2019-2025 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_METADATA_MODE_HPP
0009 #define BOOST_MYSQL_METADATA_MODE_HPP
0010 
0011 namespace boost {
0012 namespace mysql {
0013 
0014 /// Describes how to handle metadata when running a query or statement.
0015 enum class metadata_mode
0016 {
0017     /**
0018      * \brief Retain the minimum metadata possible to be able to execute the operation.
0019      * This is the most efficient mode, but will leave some fields in the \ref metadata
0020      * class empty.
0021      */
0022     minimal,
0023 
0024     /**
0025      * \brief Retain as much metadata as possible. All the fields in \ref metadata are usable,
0026      * but causes more allocations.
0027      */
0028     full
0029 };
0030 
0031 }  // namespace mysql
0032 }  // namespace boost
0033 
0034 #endif