| Home | Libraries | People | FAQ | More

##### static_results::info

Returns additional text information about the execution of the SQL statement.

###### Synopsis

    template<
        std::size_t I = 0>
    string_view
    info() const noexcept;

###### Description

The format of this information is documented by MySQL here.

The returned string always uses ASCII encoding, regardless of the connection's character set.

###### Template Parameters

Type | Description
--- | ---
`I` | Resultset index. For operations returning more than one resultset, you can explicitly specify this parameter to obtain the value for the i-th resultset. If left unspecified, the value for the first resultset is returned.

###### Preconditions

`this->has_value() == true`

###### Exception safety

No-throw guarantee.

###### Object lifetimes

This function returns a view object, with reference semantics. The returned view points into memory owned by `*this`, and will be valid as long as `*this` or an object move-constructed from `*this` are alive.

###### Complexity

Constant.