Improve Connection / Disconnect behavior
This commit is contained in:
@@ -18,7 +18,10 @@ public:
|
||||
|
||||
void Connect(const std::string& hostname, const std::string& username, const std::string& password);
|
||||
void Connect(const std::string& hostname, const std::string& username, const std::string& password, const std::string& database);
|
||||
|
||||
void Disconnect();
|
||||
void Reconnect();
|
||||
bool Connected();
|
||||
|
||||
std::string Database() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user