Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Database::Connect(Database::Engine type, std::string host, std::string user, std::string pass, std::string db)
- {
- this->engine = type;
- this->host = host;
- this->user = user;
- this->pass = pass;
- this->port = util::to_int(port);
- this->db = db;
- if (this->connected)
- {
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement