Poco::Data::MySQL

class Utility

File Information

Library: Data/MySQL
Package: MySQL
Header: Poco/Data/MySQL/Utility.h

Description

Various utility functions for MySQL.

Member Summary

Member Functions: handle, hostInfo, serverInfo, serverVersion

Member Functions

handle static inline

static MYSQL * handle(
    Poco::Data::Session & session
);

Returns native MySQL handle for the session.

hostInfo static

static std::string hostInfo(
    MYSQL * pHandle
);

Returns host info.

hostInfo static

static std::string hostInfo(
    Poco::Data::Session & session
);

Returns host info.

serverInfo static

static std::string serverInfo(
    MYSQL * pHandle
);

Returns server info.

serverInfo static

static std::string serverInfo(
    Poco::Data::Session & session
);

Returns server info.

serverVersion static

static unsigned long serverVersion(
    MYSQL * pHandle
);

Returns server version.

serverVersion static

static unsigned long serverVersion(
    Poco::Data::Session & session
);

Returns server version.