DriverFactory

DDBC Driver factory. Can create driver by name or DDBC URL.

Members

Static functions

createDriver
Driver createDriver(string driverName)

Factory method to create driver by registered name, e.g. "mysql", "postgresql", "sqlite" List of available drivers depend on configuration

createDriverForURL
Driver createDriverForURL(string url)

Factory method to create driver by registered name found in ddbc url, e.g. "mysql", "postgresql", "sqlite" List of available drivers depend on configuration

registerDriverFactory
void registerDriverFactory(string name, DriverFactoryDelegate factoryDelegate)

Registers driver factory by URL prefix, e.g. "mysql", "postgresql", "sqlite" Use this method to register your own custom drivers

Meta