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
basic_format_context::append_raw

(Inherited from format_context_base)

Adds raw SQL to the output string (low level).

Synopsis
format_context_base&
append_raw(
    constant_string_view sql);
Description

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.

Exception safety

Basic guarantee. Memory allocations may throw.

Object lifetimes

The passed string is copied as required and doesn't need to be kept alive.


PrevUpHomeNext