#include <sql.h>
Inherits Service.
Inherited by MySQLService, and SQLiteService.

Public Member Functions | |
| SQLProvider (Module *c, const Anope::string &n) | |
| virtual void | Run (SQLInterface *i, const SQLQuery &query)=0 |
| virtual SQLResult | RunQuery (const SQLQuery &query)=0 |
| virtual std::vector< SQLQuery > | CreateTable (const Anope::string &table, const Serialize::Data &data)=0 |
| virtual SQLQuery | BuildInsert (const Anope::string &table, unsigned int id, Serialize::Data &data)=0 |
| virtual SQLQuery | GetTables (const Anope::string &prefix)=0 |
| virtual Anope::string | FromUnixtime (time_t)=0 |
Class providing the SQL service, modules call this to execute queries
Definition at line 122 of file sql.h.
| SQLProvider::SQLProvider | ( | Module * | c, | |
| const Anope::string & | n | |||
| ) | [inline] |
| virtual SQLQuery SQLProvider::BuildInsert | ( | const Anope::string & | table, | |
| unsigned int | id, | |||
| Serialize::Data & | data | |||
| ) | [pure virtual] |
Implemented in MySQLService, and SQLiteService.
| virtual std::vector<SQLQuery> SQLProvider::CreateTable | ( | const Anope::string & | table, | |
| const Serialize::Data & | data | |||
| ) | [pure virtual] |
Implemented in MySQLService, and SQLiteService.
| virtual Anope::string SQLProvider::FromUnixtime | ( | time_t | ) | [pure virtual] |
Implemented in MySQLService, and SQLiteService.
| virtual SQLQuery SQLProvider::GetTables | ( | const Anope::string & | prefix | ) | [pure virtual] |
Implemented in MySQLService, and SQLiteService.
| virtual void SQLProvider::Run | ( | SQLInterface * | i, | |
| const SQLQuery & | query | |||
| ) | [pure virtual] |
Implemented in MySQLService, and SQLiteService.
Implemented in MySQLService, and SQLiteService.
1.7.1