26#ifndef ROUTING_START_TRANSACTION_PARSER_INCLUDED
27#define ROUTING_START_TRANSACTION_PARSER_INCLUDED
67 std::variant<std::monostate, StartTransaction::AccessMode, bool>,
Definition: sql_parser.h:36
SqlParser(SqlLexer::iterator first, SqlLexer::iterator last)
Definition: sql_parser.h:38
Definition: start_transaction_parser.h:59
stdx::expected< std::variant< std::monostate, StartTransaction >, std::string > parse()
Definition: start_transaction_parser.cc:72
stdx::expected< std::variant< std::monostate, StartTransaction::AccessMode, bool >, std::string > transaction_characteristics()
Definition: start_transaction_parser.cc:158
Definition: start_transaction_parser.h:36
StartTransaction(std::optional< AccessMode > access_mode, bool with_consistent_snapshot)
Definition: start_transaction_parser.h:45
AccessMode
Definition: start_transaction_parser.h:38
bool with_consistent_snapshot() const
Definition: start_transaction_parser.h:51
std::optional< AccessMode > access_mode_
Definition: start_transaction_parser.h:54
std::optional< AccessMode > access_mode() const
Definition: start_transaction_parser.h:50
StartTransaction()=default
bool with_consistent_snapshot_
Definition: start_transaction_parser.h:56
Definition: expected.h:284