#include <DBI.h>
Public Member Functions | |
DLLEXPORT class DBIDriver * | registerDriver (const char *name, const struct qore_dbi_method_list &methods, int caps) |
registers a new DBI driver | |
DLLEXPORT DBIDriver * | find (const char *name) const |
finds a driver, will try to load the driver using the ModuleManager if no such driver is already present | |
DLLEXPORT DBIDriver * | find (const char *name, ExceptionSink *xsink) const |
finds a driver, will try to load the driver using the ModuleManager if no such driver is already present |
this class will all use the ModuleManager to try and load a driver if it is not already loaded when find() is called
DLLEXPORT DBIDriver* DBIDriverList::find | ( | const char * | name, | |
ExceptionSink * | xsink | |||
) | const |
finds a driver, will try to load the driver using the ModuleManager if no such driver is already present
name | the name of the driver to find (or load) | |
xsink | Qore-language exceptions saved here if any occur |
DLLEXPORT DBIDriver* DBIDriverList::find | ( | const char * | name | ) | const |
finds a driver, will try to load the driver using the ModuleManager if no such driver is already present
name | the name of the driver to find (or load) |
DLLEXPORT class DBIDriver* DBIDriverList::registerDriver | ( | const char * | name, | |
const struct qore_dbi_method_list & | methods, | |||
int | caps | |||
) |
registers a new DBI driver
name | the name of the driver (ex: "oracle") | |
methods | the list of methods the driver supports | |
caps | the capabilities the driver supports |