...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(Inherited from format_context_base
)
Adds raw SQL to the output string (low level).
format_context_base& append_raw( constant_string_view sql);
Adds raw, unescaped SQL to the output string. Doesn't alter the error state.
By default, the passed SQL should be available at compile-time. Use runtime
if you need to use runtime values.
This is a low level function. In general, prefer format_sql_to
, instead.
Basic guarantee. Memory allocations may throw.
The passed string is copied as required and doesn't need to be kept alive.