pg_async
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
tip::db::pg::dbalias Struct Reference

Short unique string to refer a database. Signature structure, to pass instead of connection string. More...

#include <common.hpp>

Public Member Functions

void swap (std::string &rhs)
 
 operator std::string ()
 
bool operator== (dbalias const &rhs) const
 
bool operator!= (dbalias const &rhs) const
 
bool operator< (dbalias const &rhs) const
 

Public Attributes

std::string value
 

Detailed Description

Short unique string to refer a database. Signature structure, to pass instead of connection string.

See Also
Connection string and database alias
tip::db::pg::db_service

Definition at line 209 of file common.hpp.

Member Function Documentation

tip::db::pg::dbalias::operator std::string ( )
inline

Definition at line 218 of file common.hpp.

bool tip::db::pg::dbalias::operator!= ( dbalias const &  rhs) const
inline

Definition at line 226 of file common.hpp.

bool tip::db::pg::dbalias::operator< ( dbalias const &  rhs) const
inline

Definition at line 232 of file common.hpp.

bool tip::db::pg::dbalias::operator== ( dbalias const &  rhs) const
inline

Definition at line 221 of file common.hpp.

void tip::db::pg::dbalias::swap ( std::string &  rhs)
inline

Definition at line 213 of file common.hpp.

Member Data Documentation

std::string tip::db::pg::dbalias::value

Definition at line 210 of file common.hpp.


The documentation for this struct was generated from the following file: