![]() |
Home | Libraries | People | FAQ | More |
handshake_params(string_view
username,string_view
password,string_view
db = "", std::uint16_t connection_col =handshake_params::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 |