...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Adds a prepare statement stage.
pipeline_request& add_prepare_statement( string_view stmt_sql);
Creates a stage that prepares a statement server-side. The resulting stage
has effects equivalent to conn.prepare_statement(stmt_sql)
.
Strong guarantee. Memory allocations may throw.
stmt_sql is copied into the request and need not be kept alive after this function returns.