Library: MySQL
Package: MySQL
Header: Poco/Data/MySQL/Utility.h
Various utility functions for MySQL.
Member Functions: handle, hasMicrosecond, hostInfo, serverInfo, serverVersion
static MYSQL * handle(
Poco::Data::Session & session
);
Returns native MySQL handle for the session.
static bool hasMicrosecond();
Rturns true if microseconds are suported.
static std::string hostInfo(
MYSQL * pHandle
);
Returns host info.
static std::string hostInfo(
Poco::Data::Session & session
);
Returns host info.
static std::string serverInfo(
MYSQL * pHandle
);
Returns server info.
static std::string serverInfo(
Poco::Data::Session & session
);
Returns server info.
static unsigned long serverVersion(
MYSQL * pHandle
);
Returns server version.
static unsigned long serverVersion(
Poco::Data::Session & session
);
Returns server version.