lintel 0.2.0
Loading...
Searching...
No Matches
Statement.h
Go to the documentation of this file.
1#ifndef LINTEL_SQLITE_STATEMENT_H
2#define LINTEL_SQLITE_STATEMENT_H
3
4#include "Connection.h"
5
6namespace lintel {
7namespace sqlite {
12 {
13 private:
14 Connection &m_connection;
15
16 public:
21 explicit Statement(Connection &connection);
22
28 std::shared_ptr<Result> execute(const std::string &query);
29
36 std::shared_ptr<Result> execute(const std::string &query, const std::vector<std::string> &params);
37 };
38}// namespace sqlite
39
40}// namespace lintel
41#endif// LINTEL_SQLITE_STATEMENT_H
Definition Connection.h:30
Definition Statement.h:12
std::shared_ptr< Result > execute(const std::string &query, const std::vector< std::string > &params)
Statement(Connection &connection)
std::shared_ptr< Result > execute(const std::string &query)
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9