#include <soci_helper.h>
Definition at line 86 of file soci_helper.h.
◆ check_status()
| bool soci::per_thread_session::check_status |
( |
| ) |
|
|
inline |
◆ get()
| soci::session& soci::per_thread_session::get |
( |
| ) |
|
|
inline |
Definition at line 96 of file soci_helper.h.
101 m_db_connections_lock.
lock();
103 m_db_connections_lock.
unlock();
106 conn_ptr.reset(
new soci::session(soci::postgresql, m_connection_string));
109 return *conn_ptr.get();
std::string get_thread_string_id()
◆ init()
| bool soci::per_thread_session::init |
( |
const std::string & |
connection_string | ) |
|
|
inline |
Definition at line 89 of file soci_helper.h.
91 m_connection_string = connection_string;
◆ reopen()
| bool soci::per_thread_session::reopen |
( |
| ) |
|
|
inline |
Definition at line 112 of file soci_helper.h.
116 m_db_connections_lock.
lock();
118 m_db_connections_lock.
unlock();
122 conn_ptr.reset(
new soci::session(soci::postgresql, m_connection_string));
std::string get_thread_string_id()
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/contrib/epee/include/soci_helper.h