#include <mcllib/db/MCDBDriver.h>
Static Public Member Functions | |
MCDBConnection | getConnection (const mcllib::MCString &connURL) |
Obtain a connection from a driver. |
|
Obtain a connection from a driver. The connection URL format is mcdb:driver://key=value;key=value; where driver is the name of a registered database driver (e.g. mysql), and key and value are key/value pairs used to initialize the connection. Typically, this will include user and password (or pwd) keys. |