From f634bafc38bb948e41f829b16f03e2f0b8ee8f93 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 30 Apr 2015 00:27:27 +0100 Subject: Adds support for SQLite, SQLite mocking and some basic tests --- libsqlitepp/selectcommand.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libsqlitepp/selectcommand.h (limited to 'libsqlitepp/selectcommand.h') diff --git a/libsqlitepp/selectcommand.h b/libsqlitepp/selectcommand.h new file mode 100644 index 0000000..be8b02b --- /dev/null +++ b/libsqlitepp/selectcommand.h @@ -0,0 +1,21 @@ +#ifndef SQLITE_SELECTCOMMAND_H +#define SQLITE_SELECTCOMMAND_H + +#include "../libdbpp/selectcommand.h" +#include "command.h" + +namespace SQLite { + class Connection; + class ColumnBase; + class SelectCommand : public DB::SelectCommand, public Command { + public: + SelectCommand(const Connection *, const std::string & sql); + + bool fetch(); + void execute(); + }; +} + +#endif + + -- cgit v1.2.3