init sqlite database library

This commit is contained in:
yggverse 2024-08-11 12:35:57 +03:00
parent cf64949986
commit 814b25a946
7 changed files with 57 additions and 5 deletions

12
src/lib/database.cpp Normal file
View file

@ -0,0 +1,12 @@
#include "database.hpp"
using namespace lib;
Database::Database(
const char * filename
) {
status = sqlite3_open(
filename,
&connection
);
}