summaryrefslogtreecommitdiff
path: root/libsqlitepp/selectcommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsqlitepp/selectcommand.h')
-rw-r--r--libsqlitepp/selectcommand.h21
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
+
+