mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
init sqlite database library
This commit is contained in:
parent
cf64949986
commit
814b25a946
7 changed files with 57 additions and 5 deletions
12
src/lib/database.cpp
Normal file
12
src/lib/database.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include "database.hpp"
|
||||
|
||||
using namespace lib;
|
||||
|
||||
Database::Database(
|
||||
const char * filename
|
||||
) {
|
||||
status = sqlite3_open(
|
||||
filename,
|
||||
&connection
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue