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

Method dbFront

tests/mov_ctor.cc:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 std::unique_ptr<database_binder> storedProcedure;
11 database db;
12 dbFront(): db(":memory:") {
13 db << "CREATE TABLE tbl (id integer, name string);";
14 // the temporary moved object should not run _execute() function on destruction.
15 storedProcedure = std::make_unique<database_binder>(
16 db << "INSERT INTO tbl VALUES (?, ?);"
17 );
18 }
19};
20
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected