![]() |
Kea 3.0.0
|
Define a PostgreSQL statement. More...
#include <pgsql_connection.h>
Public Attributes | |
| const char * | name |
| Short name of the query. | |
| int | nbparams |
| Number of parameters for a given query. | |
| const char * | text |
| Text representation of the actual query. | |
| const Oid | types [PGSQL_MAX_PARAMETERS_IN_QUERY] |
| OID types. | |
Define a PostgreSQL statement.
Each statement is associated with an index, which is used to reference the associated prepared statement.
Definition at line 34 of file pgsql_connection.h.
| const char* isc::db::PgSqlTaggedStatement::name |
Short name of the query.
Definition at line 46 of file pgsql_connection.h.
Referenced by isc::db::PgSqlConnection::checkStatementError(), isc::db::PgSqlConnection::executePreparedStatement(), and isc::db::PgSqlConnection::prepareStatement().
| int isc::db::PgSqlTaggedStatement::nbparams |
Number of parameters for a given query.
Definition at line 36 of file pgsql_connection.h.
Referenced by isc::db::PgSqlConnection::executePreparedStatement(), and isc::db::PgSqlConnection::prepareStatement().
| const char* isc::db::PgSqlTaggedStatement::text |
Text representation of the actual query.
Definition at line 49 of file pgsql_connection.h.
Referenced by isc::db::PgSqlConnection::executePreparedStatement(), isc::db::PgSqlConnection::prepareStatement(), and isc::db::PgSqlConnection::selectQuery().
| const Oid isc::db::PgSqlTaggedStatement::types[PGSQL_MAX_PARAMETERS_IN_QUERY] |
OID types.
Specify parameter types. See /usr/include/postgresql/catalog/pg_type.h. For some reason that header does not export those parameters. Those OIDs must match both input and output parameters.
Definition at line 43 of file pgsql_connection.h.
Referenced by isc::db::PgSqlConnection::prepareStatement().