Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
DBConnection Class Reference

Public Member Functions

bool executeSQL (std::string const &, int const, std::string const &arg)
 

Static Public Member Functions

static DBConnection createConnection (std::string const &)
 

Detailed Description

Definition at line 11 of file 110-Fix-ClassFixture.cpp.

Member Function Documentation

◆ createConnection()

static DBConnection DBConnection::createConnection ( std::string const & )
inlinestatic

Definition at line 14 of file 110-Fix-ClassFixture.cpp.

14 {
15 return DBConnection();
16 }

◆ executeSQL()

bool DBConnection::executeSQL ( std::string const & ,
int const ,
std::string const & arg )
inline

Definition at line 18 of file 110-Fix-ClassFixture.cpp.

18 {
19 if ( arg.length() == 0 ) {
20 throw std::logic_error("empty SQL query argument");
21 }
22 return true; // ok
23 }

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