mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
17 lines
No EOL
266 B
C++
17 lines
No EOL
266 B
C++
#include "database.hpp"
|
|
#include "database/session.hpp"
|
|
|
|
using namespace lib;
|
|
|
|
Database::Database(
|
|
const char * filename
|
|
) {
|
|
status = sqlite3_open(
|
|
filename,
|
|
&connection
|
|
);
|
|
|
|
session = new database::Session(
|
|
connection
|
|
);
|
|
} |