Library: Data/MySQL
Package: MySQL
Header: Poco/Data/MySQL/ResultMetadata.h
MySQL result metadata
Member Functions: columnsReturned, init, isNull, length, metaColumn, rawData, reset, row
Poco::UInt32 columnsReturned() const;
Returns the number of columns in resultset.
void init(
MYSQL_STMT * stmt
);
Initializes the metadata.
bool isNull(
std::size_t pos
) const;
Returns true if value at pos is null.
std::size_t length(
std::size_t pos
) const;
Returns the length.
const MetaColumn & metaColumn(
Poco::UInt32 pos
) const;
Returns the reference to the specified metacolumn.
const char * rawData(
std::size_t pos
) const;
Returns raw data.
void reset();
Resets the metadata.
MYSQL_BIND * row();
Returns pointer to native row.