libnick
2025.9.1
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
include
database
sqlite.h
Go to the documentation of this file.
1
22
23
#ifndef SQLITE_H
24
#define SQLITE_H
25
26
#ifndef SQLITE_HAS_CODEC
27
#define SQLITE_HAS_CODEC
28
#endif
29
30
#include <cstdint>
31
#include <string>
32
#include <type_traits>
33
#ifdef _WIN32
34
#include <sqlcipher/sqlite3.h>
35
#else
36
#include <sqlite3.h>
37
#endif
38
39
namespace
Nickvision::Database
40
{
41
template
<
typename
T>
42
concept
SupportedSqliteValue
= std::is_same_v<T, int> ||
43
std::is_same_v<T, std::int64_t> ||
44
std::is_same_v<T, double> ||
45
std::is_same_v<T, bool> ||
46
std::is_same_v<T, std::string>;
47
}
48
49
#endif
//SQLITE_H
Nickvision::Database::SupportedSqliteValue
Definition
sqlite.h:42
Nickvision::Database
Definition
sqlite.h:40
Generated by
1.13.2