libpqxx
The C++ client library for PostgreSQL
Loading...
Searching...
No Matches
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-2024, 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
14namespace pqxx
15{
58
60
69class PQXX_LIBEXPORT prepped : public zview
70{
71public:
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
A string that is the name of a prepared statement.
Definition prepared_statement.hxx:70
Marker-type wrapper: zero-terminated std::string_view.
Definition zview.hxx:38
The home of all libpqxx classes, functions, templates, etc.
Definition array.cxx:27