Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
statement.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <sqlite3.h>
4
6{
7 class Statement final
8 {
9 public:
10
11 Statement(sqlite3 * db, const char * sql);
12 Statement(const Statement &) = delete;
13 Statement & operator=(const Statement &) = delete;
14
15 ~Statement();
16
17 sqlite3_stmt * get() const;
18
19 int step() const;
20
21 void reset() const;
22
23 private:
24 sqlite3_stmt * _stmt = nullptr;
25 };
26}
Definition statement.hpp:8
int step() const
Definition statement.cpp:30
void reset() const
Definition statement.cpp:35
~Statement()
Definition statement.cpp:16
sqlite3_stmt * get() const
Definition statement.cpp:25
Statement & operator=(const Statement &)=delete
Statement(const Statement &)=delete
Definition exec.hpp:6