Lightweight 0.20250904.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 37 of file SqlConnectInfo.hpp.
|
inline |
Definition at line 46 of file SqlConnectInfo.hpp.
std::string Lightweight::SqlConnectionDataSource::datasource |
Definition at line 39 of file SqlConnectInfo.hpp.
std::string Lightweight::SqlConnectionDataSource::username |
Definition at line 40 of file SqlConnectInfo.hpp.
std::string Lightweight::SqlConnectionDataSource::password |
Definition at line 41 of file SqlConnectInfo.hpp.
std::chrono::seconds Lightweight::SqlConnectionDataSource::timeout { 5 } |
Definition at line 42 of file SqlConnectInfo.hpp.