Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
any_connection::format_opts

Returns format options suitable to format SQL according to the current connection configuation.

Synopsis
system::result< format_options >
format_opts() const;
Description

If the current character set is known (as given by current_character_set), returns a value suitable to be passed to SQL formatting functions. Otherwise, returns an error.

Errors
Exception safety

No-throw guarantee.


PrevUpHomeNext