Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the master branch. The current version is 1.91.0.
Returns the actual name of the column.
string_view
column_name() const noexcept;
If the column was aliased, this will be the name of the alias (e.g. in
"SELECT id AS employee_id FROM employees",
column_name()
will be "employee_id").
This is optional information - it won't be populated unless the connection
executing the query has meta_mode() == metadata_mode::full.
No-throw guarantee.
The returned reference is valid as long as *this is alive and hasn't been assigned to
or moved from.