Library: SQLite
Package: SQLite
Header: Poco/Data/SQLite/Connector.h
Connector instantiates SqLite SessionImpl objects.
Direct Base Classes: Poco::Data::Connector
All Base Classes: Poco::Data::Connector
Member Functions: createSession, enableSharedCache, registerConnector, unregisterConnector
Inherited Functions: createSession
Connector();
Creates the Connector.
~Connector();
Destroys the Connector.
Poco::AutoPtr < Poco::Data::SessionImpl > createSession(
const std::string & connectionString
);
Creates a SQLite SessionImpl object and initializes it with the given connectionString.
static void enableSharedCache(
bool flag = true
);
Enables or disables SQlite shared cache mode (see http://www.sqlite.org/sharedcache.html for a discussion).
static void registerConnector();
Registers the Connector under the Keyword Connector::KEY at the Poco::Data::SessionFactory.
static void unregisterConnector();
Unregisters the Connector under the Keyword Connector::KEY at the Poco::Data::SessionFactory.
static const std::string KEY;