EasyQtSql
Easy SQL data access helper for QtSql
EasyQtSql::SqlFactory Class Reference

#include <EasyQtSql.h>

Classes

struct  DBSetting
 
class  ThreadDBPool
 

Public Member Functions

SqlFactoryconfig (const DBSetting &settings, const QString &connectionName=QSqlDatabase::defaultConnection)
 
SqlFactoryclone (const QString &newConnectionName, const QString &connectionName)
 
QSqlDatabase getDatabase (const QString &connectionName=QSqlDatabase::defaultConnection)
 

Static Public Member Functions

static SqlFactorygetInstance ()
 

Member Function Documentation

◆ clone()

SqlFactory* EasyQtSql::SqlFactory::clone ( const QString &  newConnectionName,
const QString &  connectionName 
)
inline

◆ config()

SqlFactory* EasyQtSql::SqlFactory::config ( const DBSetting settings,
const QString &  connectionName = QSqlDatabase::defaultConnection 
)
inline

◆ getDatabase()

QSqlDatabase EasyQtSql::SqlFactory::getDatabase ( const QString &  connectionName = QSqlDatabase::defaultConnection)
inline

◆ getInstance()

static SqlFactory* EasyQtSql::SqlFactory::getInstance ( )
inlinestatic

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