1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/parser/statement/transaction_statement.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/parser/sql_statement.hpp"
12#include "duckdb/parser/parsed_data/transaction_info.hpp"
13
14namespace duckdb {
15
16class TransactionStatement : public SQLStatement {
17public:
18 static constexpr const StatementType TYPE = StatementType::TRANSACTION_STATEMENT;
19
20public:
21 explicit TransactionStatement(TransactionType type);
22
23 unique_ptr<TransactionInfo> info;
24
25protected:
26 TransactionStatement(const TransactionStatement &other);
27
28public:
29 unique_ptr<SQLStatement> Copy() const override;
30};
31} // namespace duckdb
32