libpqxx
The C++ client library for PostgreSQL
pqxx::prepped Class Referencefinal

A string that is the name of a prepared statement. More...

#include <prepared_statement.hxx>

+ Inheritance diagram for pqxx::prepped:
+ Collaboration diagram for pqxx::prepped:

Public Member Functions

constexpr prepped (std::string_view name) noexcept
 

Detailed Description

A string that is the name of a prepared statement.

When calling on libpqxx to execute a prepared statement, wrap its name in a prepped object to indicate to libpqxx that it is a statement name, not SQL.

The string must be like a C-style string: it should contain no bytes with value zero, but it must have a single byte with value zero directly behind it in memory.

Constructor & Destructor Documentation

◆ prepped()

constexpr pqxx::prepped::prepped ( std::string_view  name)
inlineexplicitconstexprnoexcept

The documentation for this class was generated from the following file: