Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

invalid_collation_id

A collation ID that is never valid.

Synopsis

Defined in header <boost/mysql/defaults.hpp>

constexpr
std::uint16_t invalid_collation_id = 0u;
Description

Pass this value as connect_params::connection_collation to set the connection's character set and collation to the server's defaults. Run "SELECT @@GLOBAL.character_set_client;" to find out the server's default character set.

This is intended to be used together with connect_params::server_default_charset.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext