Classes | |
class | declaration |
Helper class for declaring parameters to prepared statements. More... | |
class | invocation |
Helper class for passing parameters to, and executing, prepared statements. More... | |
Namespaces | |
namespace | internal |
Enumerations | |
enum | param_treatment { treat_binary, treat_string, treat_bool, treat_direct } |
Type of treatment of a particular parameter to a prepared statement. More... |
Type of treatment of a particular parameter to a prepared statement.
This information is needed to determine whether a parameter needs to be quoted, escaped, binary-escaped, and/or converted to boolean as it is passed to a prepared statement on execution.
This treatment becomes relevant when either the available libpq version doesn't provide direct support for prepared statements, so the definition must be generated as SQL. This is the case with libpq versions prior to the one shipped with PostgreSQL 7.4).