KVIrc  4.9.2
DeveloperAPIs
Macros | Functions | Variables
KvsObject_sql.cpp File Reference
#include "kvi_debug.h"
#include "KviMemory.h"
#include "KviLocale.h"
#include "KvsObject_sql.h"
#include "KvsObject_memoryBuffer.h"
#include <stdlib.h>
#include <QHash>
#include <QSqlDriver>
#include <QSqlError>
#include <QSqlRecord>

Macros

#define CHECK_QUERY_IS_INIT
 

Functions

 if (m_pCurrentSQlQuery) delete m_pCurrentSQlQuery
 
 KVSO_CLASS_FUNCTION (sql, setConnection)
 
 KVSO_CLASS_FUNCTION (sql, connectionNames)
 
 KVSO_CLASS_FUNCTION (sql, queryLastInsertId)
 
 KVSO_CLASS_FUNCTION (sql, features)
 
 KVSO_CLASS_FUNCTION (sql, beginTransaction)
 
 KVSO_CLASS_FUNCTION (sql, commit)
 
 KVSO_CLASS_FUNCTION (sql, closeConnection)
 
 KVSO_CLASS_FUNCTION (sql, tablesList)
 
 KVSO_CLASS_FUNCTION (sql, queryFinish)
 
 KVSO_CLASS_FUNCTION (sql, queryPrepare)
 
 KVSO_CLASS_FUNCTION (sql, queryBindValue)
 
 KVSO_CLASS_FUNCTION (sql, queryExec)
 
 KVSO_CLASS_FUNCTION (sql, queryNext)
 
 KVSO_CLASS_FUNCTION (sql, queryPrevious)
 
 KVSO_CLASS_FUNCTION (sql, queryResultsSize)
 
 KVSO_CLASS_FUNCTION (sql, queryFirst)
 
 KVSO_CLASS_FUNCTION (sql, queryLast)
 
 KVSO_CLASS_FUNCTION (sql, queryRecord)
 
 KVSO_CLASS_FUNCTION (sql, lastError)
 

Variables

 m_pCurrentSQlQuery = nullptr
 

Macro Definition Documentation

#define CHECK_QUERY_IS_INIT
Value:
{ \
c->error("No connection has been initialized!"); \
return false; \
}
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
m_pCurrentSQlQuery
Definition: KvsObject_sql.cpp:136

Referenced by KVSO_CLASS_FUNCTION().

Function Documentation

KVSO_CLASS_FUNCTION ( sql  ,
setConnection   
)
KVSO_CLASS_FUNCTION ( sql  ,
connectionNames   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryLastInsertId   
)
KVSO_CLASS_FUNCTION ( sql  ,
features   
)
KVSO_CLASS_FUNCTION ( sql  ,
beginTransaction   
)

References c.

KVSO_CLASS_FUNCTION ( sql  ,
commit   
)

References c.

KVSO_CLASS_FUNCTION ( sql  ,
closeConnection   
)
KVSO_CLASS_FUNCTION ( sql  ,
tablesList   
)

References c, i, pArray, and KviKvsArray::set().

KVSO_CLASS_FUNCTION ( sql  ,
queryFinish   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryPrepare   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryBindValue   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryExec   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryNext   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryPrevious   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryResultsSize   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryFirst   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryLast   
)
KVSO_CLASS_FUNCTION ( sql  ,
queryRecord   
)
KVSO_CLASS_FUNCTION ( sql  ,
lastError   
)

Variable Documentation

m_pCurrentSQlQuery = nullptr

Referenced by KVSO_CLASS_FUNCTION().