DynXX-Cxx
Loading...
Searching...
No Matches
SQLite.hxx
Go to the documentation of this file.
1#pragma once
2
3#include "Types.hxx"
4#include "../C/SQLite.h"
5
6DynXXSQLiteConnHandle dynxxSQLiteOpen(std::string_view _id);
7
8bool dynxxSQLiteExecute(DynXXSQLiteConnHandle conn, std::string_view sql);
9
10DynXXSQLiteQueryResultHandle dynxxSQLiteQueryDo(DynXXSQLiteConnHandle conn, std::string_view sql);
11
12bool dynxxSQLiteQueryReadRow(DynXXSQLiteQueryResultHandle query_result);
13
14std::optional<std::string> dynxxSQLiteQueryReadColumnText(DynXXSQLiteQueryResultHandle query_result, std::string_view column);
15
16std::optional<int64_t> dynxxSQLiteQueryReadColumnInteger(DynXXSQLiteQueryResultHandle query_result, std::string_view column);
17
18std::optional<double> dynxxSQLiteQueryReadColumnFloat(DynXXSQLiteQueryResultHandle query_result, std::string_view column);
19
20void dynxxSQLiteQueryDrop(DynXXSQLiteQueryResultHandle query_result);
21
22void dynxxSQLiteClose(DynXXSQLiteConnHandle conn);
void dynxxSQLiteClose(DynXXSQLiteConnHandle conn)
bool dynxxSQLiteQueryReadRow(DynXXSQLiteQueryResultHandle query_result)
DynXXSQLiteConnHandle dynxxSQLiteOpen(std::string_view _id)
bool dynxxSQLiteExecute(DynXXSQLiteConnHandle conn, std::string_view sql)
std::optional< int64_t > dynxxSQLiteQueryReadColumnInteger(DynXXSQLiteQueryResultHandle query_result, std::string_view column)
std::optional< std::string > dynxxSQLiteQueryReadColumnText(DynXXSQLiteQueryResultHandle query_result, std::string_view column)
void dynxxSQLiteQueryDrop(DynXXSQLiteQueryResultHandle query_result)
DynXXSQLiteQueryResultHandle dynxxSQLiteQueryDo(DynXXSQLiteConnHandle conn, std::string_view sql)
std::optional< double > dynxxSQLiteQueryReadColumnFloat(DynXXSQLiteQueryResultHandle query_result, std::string_view column)