MCPcopy Create free account
hub / github.com/SqliteModernCpp/sqlite_modern_cpp / used

Method used

hdr/sqlite_modern_cpp.h:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 void used(bool state) {
110 if(execution_started == true && state == true) {
111 throw errors::reexecution("Already used statement executed again! Please reset() first!",sql());
112 }
113 execution_started = state;
114 }
115 bool used() const { return execution_started; }
116
117 private:

Callers

nothing calls this directly

Calls 1

reexecutionClass · 0.85

Tested by

no test coverage detected