acl
3.5.3.0
|
#include <db_pgsql.hpp>
Public 成员函数 | |
db_pgsql (const pgsql_conf &conf) | |
~db_pgsql (void) | |
const char * | dbtype (void) const |
int | get_errno (void) const |
const char * | get_error (void) const |
bool | dbopen (const char *charset=NULL) |
bool | is_opened (void) const |
bool | close (void) |
bool | tbl_exists (const char *tbl_name) |
bool | sql_select (const char *sql, db_rows *result=NULL) |
bool | sql_update (const char *sql) |
int | affect_count (void) const |
bool | begin_transaction (void) |
bool | commit (void) |
bool | rollback (void) |
Public 成员函数 继承自 acl::db_handle | |
db_handle (void) | |
virtual | ~db_handle (void) |
bool | open () |
bool | exec_select (query &query, db_rows *result=NULL) |
bool | exec_update (query &query) |
virtual string & | escape_string (const char *in, size_t len, string &out) |
const db_rows * | get_result () const |
const std::vector< const db_row * > * | get_rows (const char *name, const char *value) |
const std::vector< db_row * > * | get_rows () const |
const db_row * | get_first_row () const |
void | free_result () |
const db_row * | operator[] (size_t idx) const |
size_t | length () const |
bool | empty () const |
void | print_out (size_t max=0) const |
db_handle & | set_id (const char *id) |
const char * | get_id () const |
db_handle & | set_when (time_t now) |
time_t | get_when () const |
Public 成员函数 继承自 acl::connect_client | |
connect_client (void) | |
virtual | ~connect_client () |
time_t | get_when () |
void | set_when (time_t when) |
connect_pool * | get_pool () const |
virtual void | set_timeout (int conn_timeout, int rw_timeout) |
静态 Public 成员函数 | |
static void | load (void) |
静态 Public 成员函数 继承自 acl::db_handle | |
static void | set_loadpath (const char *path) |
static const char * | get_loadpath () |
额外继承的成员函数 | |
Protected 成员函数 继承自 acl::connect_client | |
void | set_pool (connect_pool *pool) |
Protected 成员函数 继承自 acl::acl::noncopyable | |
noncopyable () | |
~noncopyable () | |
Protected 属性 继承自 acl::db_handle | |
db_rows * | result_ |
char * | id_ |
time_t | when_ |
Protected 属性 继承自 acl::connect_client | |
int | conn_timeout_ |
int | rw_timeout_ |
time_t | when_ |
connect_pool * | pool_ |
在文件 db_pgsql.hpp 第 14 行定义.
acl::db_pgsql::db_pgsql | ( | const pgsql_conf & | conf | ) |
acl::db_pgsql::~db_pgsql | ( | void | ) |
|
virtual |
@override
实现了 acl::db_handle.
|
virtual |
@override
重载 acl::db_handle .
|
virtual |
@override
实现了 acl::db_handle.
|
virtual |
@override
重载 acl::db_handle .
|
virtual |
@override
实现了 acl::db_handle.
|
virtual |
实现了 acl::db_handle.
|
virtual |
@override
重载 acl::db_handle .
|
virtual |
@override
重载 acl::db_handle .
|
virtual |
@override
实现了 acl::db_handle.
|
static |
|
virtual |
@override
重载 acl::db_handle .
|
virtual |
@override
实现了 acl::db_handle.
|
virtual |
@override
实现了 acl::db_handle.
|
virtual |
@override
实现了 acl::db_handle.