...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Initializing constructor.
handshake_params( string_view username, string_view password, string_view db = "", std::uint16_t connection_col = default_collation, ssl_mode mode = ssl_mode::require, bool multi_queries = false);
No-throw guarantee.
Name |
Description |
---|---|
|
User name to authenticate as. |
|
Password for that username, possibly empty. |
|
Database name to use, or empty string for no database (this is the default). |
|
The ID of the collation to use for the connection. Impacts how
text queries and prepared statements are interpreted. Defaults
to |
|
The |
|
Whether to enable support for executing semicolon-separated queries
using |