FOSSredder
0.5.0
Loading...
Searching...
No Matches
Factory.cpp
Go to the documentation of this file.
1
5
6
#include "
persistence/Factory.h
"
7
#include "
persistence/SqliteDb.h
"
8
9
std::shared_ptr<SqliteDb>
createSqliteDb
(
const
std::string& dbPath) {
10
return
std::make_shared<SqliteDb>(dbPath);
11
}
createSqliteDb
std::shared_ptr< SqliteDb > createSqliteDb(const std::string &dbPath)
Create a SQLite database wrapper for the given path.
Definition
Factory.cpp:9
Factory.h
Declares factories for SQLite storage dependencies and repository bundles.
SqliteDb.h
Declares the lightweight SQLite connection wrapper.
persistence
src
Factory.cpp
Generated by
1.14.0