diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-04-30 00:27:27 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-04-30 00:27:27 +0100 |
commit | f634bafc38bb948e41f829b16f03e2f0b8ee8f93 (patch) | |
tree | c4f8ff17614b68531355e8047d81e96719101d10 /libsqlitepp/selectcommand.h | |
parent | Ignore Vim swap files (diff) | |
download | libdbpp-sqlite-f634bafc38bb948e41f829b16f03e2f0b8ee8f93.tar.bz2 libdbpp-sqlite-f634bafc38bb948e41f829b16f03e2f0b8ee8f93.tar.xz libdbpp-sqlite-f634bafc38bb948e41f829b16f03e2f0b8ee8f93.zip |
Adds support for SQLite, SQLite mocking and some basic tests
Diffstat (limited to 'libsqlitepp/selectcommand.h')
-rw-r--r-- | libsqlitepp/selectcommand.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 + + |