#include <sqlite3.h>
#include <cstring>
#include <cstdint>
#include <string>
#include <vector>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | sqlite::Blob |
class | sqlite::Connection |
class | sqlite::Error |
class | sqlite::NOBlob |
class | sqlite::Result |
struct | sqlite::Priv::Statement |
class | sqlite::Type |
Namespaces | |
sqlite | |
sqlite::Priv | |
Macros | |
#define | CPP_SQLITE_NODISCARD |
#define | CPP_SQLITE_THROW(...) throw sqlite::Error(__VA_ARGS__) |
Functions | |
void | sqlite::Priv::Append (sqlite3_stmt *statement, int index, const char *data) |
void | sqlite::Priv::Append (sqlite3_stmt *statement, int index, const double &data) |
void | sqlite::Priv::Append (sqlite3_stmt *statement, int index, const float &data) |
void | sqlite::Priv::Append (sqlite3_stmt *statement, int index, const int32_t &data) |
void | sqlite::Priv::Append (sqlite3_stmt *statement, int index, const int64_t &data) |
void | sqlite::Priv::Append (sqlite3_stmt *statement, int index, const sqlite::Blob &blob) |
void | sqlite::Priv::Append (sqlite3_stmt *statement, int index, const sqlite::NOBlob &blob) |
void | sqlite::Priv::Append (sqlite3_stmt *statement, int index, const std::string &data) |
template<typename Arg > | |
void | sqlite::Priv::AppendToQuery (sqlite3_stmt *statement, int index, const Arg &arg) |
template<typename First , typename ... Args> | |
void | sqlite::Priv::AppendToQuery (sqlite3_stmt *statement, int index, const First &first, const Args &... args) |
bool | sqlite::Backup (sqlite::Connection &from, const std::string &filename) |
bool | sqlite::Backup (sqlite::Connection &from, sqlite::Connection &to) |
bool | sqlite::Priv::CheckError (int code) |
bool | sqlite::Priv::CheckError (sqlite3 *db, int code) |
CPP_SQLITE_NODISCARD Result | sqlite::Query (sqlite::Connection &connection, const std::string &command) |
template<typename First , typename ... Args> | |
CPP_SQLITE_NODISCARD Result | sqlite::Query (sqlite::Connection &connection, const std::string &command, const First &first, const Args... args) |
void | sqlite::Statement (sqlite::Connection &connection, const std::string &command) |
template<typename First , typename ... Args> | |
void | sqlite::Statement (sqlite::Connection &connection, const std::string &command, const First &first, const Args... args) |
#define CPP_SQLITE_NODISCARD |
Copyright (C) 2023 Toni Lipponen
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
Definition at line 34 of file sqlite.hpp.
#define CPP_SQLITE_THROW | ( | ... | ) | throw sqlite::Error(__VA_ARGS__) |
Definition at line 40 of file sqlite.hpp.