Lightweight 0.20260303.0
Loading...
Searching...
No Matches
Lightweight::SqlConnectionString Struct Reference

Represents an ODBC connection string. More...

#include <SqlConnectInfo.hpp>

Public Member Functions

auto operator<=> (SqlConnectionString const &) const noexcept=default
 Three-way comparison operator.
 
LIGHTWEIGHT_API std::string Sanitized () const
 Returns a sanitized copy of the connection string with the password masked.
 

Static Public Member Functions

static LIGHTWEIGHT_API std::string SanitizePwd (std::string_view input)
 Sanitizes the password in the given connection string input.
 

Public Attributes

std::string value
 The raw ODBC connection string value.
 

Detailed Description

Represents an ODBC connection string.

Definition at line 17 of file SqlConnectInfo.hpp.

Member Data Documentation

◆ value

std::string Lightweight::SqlConnectionString::value

The raw ODBC connection string value.

Definition at line 20 of file SqlConnectInfo.hpp.

Referenced by Lightweight::SqlConnectionDataSource::ToConnectionString().


The documentation for this struct was generated from the following file: