MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / disconnect

Method disconnect

Exercises/NoModules/Chapter 18/Soln18_05/DB.cpp:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 bool hasConnection() const { return m_connected; }
22 void connect() { m_connected = true; }
23 void disconnect() { m_connected = false; }
24
25 QueryResult* query(const char* query);
26

Callers 1

db_disconnectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected