9 #ifndef anna_dbms_Sentence_hpp 10 #define anna_dbms_Sentence_hpp 38 struct Mode {
enum _v { ExceptionWhenNotFound, SilentWhenNotFound }; };
46 return execute(connection, a_dbStatement);
54 const std::string& getName()
const ;
67 bool fetch() noexcept(
false);
75 return (resultCode.successful() ==
true) ? fetch() :
false;
82 virtual std::string asString()
const ;
97 a_mode(mode), a_dbStatement(NULL)
Sentence(const Mode::_v mode=Mode::ExceptionWhenNotFound)
Definition: Sentence.hpp:96
Definition: Connection.hpp:38
Definition: Statement.hpp:43
bool fetch(const ResultCode &resultCode) noexcept(false)
Definition: Sentence.hpp:74
Definition: Database.hpp:37
_v
Definition: Sentence.hpp:38
Definition: Sentence.hpp:32
xml::Node Node
Definition: Node.hpp:21
virtual dbms::ResultCode execute(dbms::Connection &connection) noexcept(false)
Definition: Sentence.hpp:45
Definition: Sentence.hpp:38
Definition: ResultCode.hpp:29