...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A read-only view of a collection of metadata
objects.
Defined in header <boost/mysql/metadata_collection_view.hpp>
using metadata_collection_view = boost::span< const metadata >;
Name |
Description |
---|---|
Returns the ID of the collation that fields belonging to this column use. |
|
Returns the maximum length of the column. |
|
Returns the actual name of the column. |
|
Returns the name of the database (schema) the column belongs to. |
|
Returns the number of decimals of the column. |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Default constructor. |
|
Move assignment. |
|
Returns the original (physical) name of the column. |
|
Returns the name of the physical table the column belongs to. |
|
Returns the name of the virtual table the column belongs to. |
|
Returns the type of the column (see |
|
~metadata [destructor] |
Destructor. |
This is a regular, value type. Instances of this class are not created by the user directly, but by the library.
The object doesn't own the storage for the metadata
objects. These are typically
owned by a results
or execution_state
object. This view
is valid as long as the memory allocated for the metadata
objects remain valid.