void setUser(const std::string &user)
const std::string & passwd() const
Definition: dbcontext_qsql.hpp:15
void setPasswd(const std::string &passwd)
std::string m_host
Definition: dbcontext_qsql.hpp:77
const std::string & host() const
void setDbName(const std::string &db_name)
const std::string & user() const
std::string m_user
Definition: dbcontext_qsql.hpp:79
const std::string & dbName() const
std::string m_db_name
Definition: dbcontext_qsql.hpp:78
void setHost(const std::string &host)
static ContextQSql fromEnv(const std::string host_env="HDS_DB_HOST", const std::string db_name_env="HDS_DB_NAME", const std::string user_env="HDS_DB_USER", const std::string passwd_env="HDS_DB_PASSWD")
std::string m_passwd
Definition: dbcontext_qsql.hpp:80