Lightweight 0.1.0
|
Represents a connection data source as a DSN, username, password, and timeout. More...
#include <SqlConnectInfo.hpp>
Public Member Functions | |
SqlConnectionString | ToConnectionString () const |
LIGHTWEIGHT_API auto | operator<=> (SqlConnectionDataSource const &) const noexcept=default |
Static Public Member Functions | |
static LIGHTWEIGHT_API SqlConnectionDataSource | FromConnectionString (SqlConnectionString const &value) |
Public Attributes | |
std::string | datasource |
std::string | username |
std::string | password |
std::chrono::seconds | timeout { 5 } |
Represents a connection data source as a DSN, username, password, and timeout.
Definition at line 34 of file SqlConnectInfo.hpp.
|
inline |
Definition at line 43 of file SqlConnectInfo.hpp.
std::string SqlConnectionDataSource::datasource |
Definition at line 36 of file SqlConnectInfo.hpp.
std::string SqlConnectionDataSource::username |
Definition at line 37 of file SqlConnectInfo.hpp.
std::string SqlConnectionDataSource::password |
Definition at line 38 of file SqlConnectInfo.hpp.
std::chrono::seconds SqlConnectionDataSource::timeout { 5 } |
Definition at line 39 of file SqlConnectInfo.hpp.