libpqxx
The C++ client library for PostgreSQL
prepared_statement.hxx
1 /* Definition of the pqxx::prepped.
2  *
3  * DO NOT INCLUDE THIS FILE DIRECTLY; include pqxx/prepared_statement instead.
4  *
5  * Copyright (c) 2000-2025, Jeroen T. Vermeulen.
6  *
7  * See COPYING for copyright license. If you did not receive a file called
8  * COPYING with this source code, please notify the distributor of this
9  * mistake, or contact the author.
10  */
11 #ifndef PQXX_H_PREPARED_STATEMENT
12 #define PQXX_H_PREPARED_STATEMENT
13 
14 namespace pqxx
15 {
58 
60 
69 class PQXX_LIBEXPORT prepped : public zview
70 {
71 public:
72  // TODO: May not have to be a zview! Because exec() draws a copy anyway.
73  prepped(zview name) : zview{name} {}
74 };
75 } // namespace pqxx
76 
77 #endif
Marker-type wrapper: zero-terminated std::string_view.
Definition: zview.hxx:37
A string that is the name of a prepared statement.
Definition: prepared_statement.hxx:69
The home of all libpqxx classes, functions, templates, etc.
Definition: array.cxx:26