Poco::Data::PostgreSQL

class InputParameter

File Information

Library: Data/PostgreSQL
Package: PostgreSQL
Header: Poco/Data/PostgreSQL/PostgreSQLTypes.h

Description

PostgreSQL class to record values for input parameters to SQL statements

Member Summary

Member Functions: fieldType, isBinary, pData, pInternalRepresentation, setNonStringVersionRepresentation, setStringVersionRepresentation, size

Types Aliases

CDT

using CDT = Poco::Data::MetaColumn::ColumnDataType;

Constructors

InputParameter

InputParameter();

InputParameter inline

InputParameter(
    CDT fieldType,
    const void * dataPtr,
    std::size_t dataLength
);

Destructor

~InputParameter inline

~InputParameter();

Member Functions

fieldType inline

CDT fieldType() const;

isBinary inline

bool isBinary() const;

pData inline

const void * pData() const;

pInternalRepresentation inline

const void * pInternalRepresentation() const;

setNonStringVersionRepresentation inline

void setNonStringVersionRepresentation(
    const void * aPtr,
    std::size_t theSize
);

setStringVersionRepresentation inline

void setStringVersionRepresentation(
    const std::string & aString
);

size inline

std::size_t size() const;

Securely control IoT edge devices from anywhere   Connect a Device