Anope IRC Services
Version 2.0
|
#include <sql.h>
Public Member Functions | |
Result () | |
Result (unsigned int i, const Query &q, const Anope::string &fq, const Anope::string &err="") | |
operator bool () const | |
const unsigned int | GetID () const |
const Query & | GetQuery () const |
const Anope::string & | GetError () const |
int | Rows () const |
const std::map< Anope::string, Anope::string > & | Row (size_t index) const |
const Anope::string | Get (size_t index, const Anope::string &col) const |
Data Fields | |
unsigned int | id |
Anope::string | finished_query |
Protected Attributes | |
std::vector< std::map < Anope::string, Anope::string > > | entries |
Query | query |
Anope::string | error |
|
inline |
|
inline |
Definition at line 169 of file sql.h.
References Row().
Referenced by SQLiteService::CreateTable(), MySQLService::CreateTable(), CSTop::DoTop(), IRC2SQL::GetTables(), MChanstats::GetTables(), and DBMySQL::OnSerializeCheck().
|
inline |
Definition at line 153 of file sql.h.
References error.
Referenced by ModuleSQL::OnNotify(), SQLiteService::Run(), CSStats::RunQuery(), CSTop::RunQuery(), and DBMySQL::RunQueryResult().
|
inline |
Definition at line 151 of file sql.h.
References id.
Referenced by DBMySQL::OnNotify(), and DBSQL::OnNotify().
|
inline |
|
inline |
Definition at line 149 of file sql.h.
References Anope::string::empty().
|
inline |
Definition at line 157 of file sql.h.
Referenced by Get(), IRC2SQL::GetTables(), MChanstats::GetTables(), and DBMySQL::OnSerializeCheck().
|
inline |
Definition at line 155 of file sql.h.
Referenced by SQLiteService::CreateTable(), MySQLService::CreateTable(), CSTop::DoTop(), IRC2SQL::GetTables(), MChanstats::GetTables(), DBMySQL::OnSerializeCheck(), and DBMySQL::RunQueryResult().
|
protected |
|
protected |
Definition at line 141 of file sql.h.
Referenced by GetError().
Anope::string SQL::Result::finished_query |
Definition at line 144 of file sql.h.
Referenced by DBMySQL::RunQueryResult().
unsigned int SQL::Result::id |
Definition at line 143 of file sql.h.
Referenced by GetID(), and SQLiteService::RunQuery().
|
protected |
Definition at line 140 of file sql.h.
Referenced by GetQuery().