The C++ RemoteSqlEngine Class

RemoteSqlEngine provides the client interface for sending SQL requests to a server application implemented as a SqlServer instance.

For an overview see page C++ Classes

RemoteSqlEngine inherits all public methods from base class SqlEngine; the principle methods are listed in the McoSqlEngine page. The additional specialized methods of RemoteSqlEngine are described in the table below.

RemoteSqlEngine(size_t txBufSize = 64 * 1024)) Constructor of the SQL engine remote interface. The parameter txBufSize specifies the size of transmit buffer used to serialize requests to be sent to the server (default is 64k)
bool open( parameter list ) Open the client SQL engine and connect to the server
close() Close the connection with the server
isRemote() Check if engine is local or remote
bool getServerQueryStats(QueryStat &ret_stat);() Get last query statistics. Returns true if stats were collected and ret_stat received the stats; false if stats were not collected