29#include <sptk5/Strings.h>
30#include <sptk5/net/HttpParams.h>
63 : m_connectionString(connectionString)
65 if (!m_connectionString.empty())
125 return m_databaseName;
184 String m_connectionString;
194 uint16_t m_portNumber {0};
227using SDatabaseConnectionString = std::shared_ptr<DatabaseConnectionString>;
Definition: DatabaseConnectionString.h:56
DatabaseConnectionString & operator=(const DatabaseConnectionString &cs)=default
DatabaseConnectionString(const String &connectionString="")
Definition: DatabaseConnectionString.h:62
uint16_t portNumber() const
Definition: DatabaseConnectionString.h:139
String parameter(const String &name) const
const String & userName() const
Definition: DatabaseConnectionString.h:107
const String & hostName() const
Definition: DatabaseConnectionString.h:99
const String & databaseName() const
Definition: DatabaseConnectionString.h:123
DatabaseConnectionString(const DatabaseConnectionString &cs)=default
void password(const String &pass)
Definition: DatabaseConnectionString.h:157
const String & driverName() const
Definition: DatabaseConnectionString.h:91
void userName(const String &user)
Definition: DatabaseConnectionString.h:148
const String & schema() const
Definition: DatabaseConnectionString.h:131
const String & password() const
Definition: DatabaseConnectionString.h:115
Definition: HttpParams.h:69