acl  3.5.3.0
pgsql_pool.hpp
浏览该文件的文档.
1 #pragma once
2 #include "../acl_cpp_define.hpp"
3 #include "../db/db_pool.hpp"
4 
5 #if !defined(ACL_CLIENT_ONLY) && !defined(ACL_DB_DISABLE)
6 
7 namespace acl {
8 
9 class db_handle;
10 class pgsql_conf;
11 
13 {
14 public:
15  pgsql_pool(const pgsql_conf& conf);
16  ~pgsql_pool(void);
17 
18 protected:
19  // @override
20  connect_client* create_connect(void);
21 
22 private:
23  pgsql_conf* conf_;
24 };
25 
26 } // namespace acl
27 
28 #endif // !defined(ACL_CLIENT_ONLY) && !defined(ACL_DB_DISABLE)
#define ACL_CPP_API