Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::db::DriverManager Class Reference

Database driver instance manager. More...

#include <DriverManager.h>

Static Public Member Functions

static DriverInstance::Ptr getInstance (DatabaseType type, const char *conn_string) noexcept
 Create a database driver instance.
 

Detailed Description

Database driver instance manager.

Member Function Documentation

◆ getInstance()

DriverInstance::Ptr DriverManager::getInstance ( DatabaseType type,
const char * conn_string )
staticnoexcept

Create a database driver instance.

Parameters
typeDatabase type
conn_stringConnection string
Returns
Database driver instance
Return values
nullptrFailed to create a database driver instance, which is usually a non-recoverable error but occurs rarely

References sese::db::tokenize().


The documentation for this class was generated from the following files: