summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-modifycommand.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-24 04:13:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-24 04:13:24 +0000
commit5dd91c7b80443c1f0e747088159c4d8b78d1856d (patch)
tree226331b6026e722f6a69765963ff19a9436155c1 /libsqlitepp/sqlite-modifycommand.h
parentUse parent glibmm (diff)
downloadlibdbpp-sqlite-5dd91c7b80443c1f0e747088159c4d8b78d1856d.tar.bz2
libdbpp-sqlite-5dd91c7b80443c1f0e747088159c4d8b78d1856d.tar.xz
libdbpp-sqlite-5dd91c7b80443c1f0e747088159c4d8b78d1856d.zip
SQLite files prefixed with sqlite-
Diffstat (limited to 'libsqlitepp/sqlite-modifycommand.h')
-rw-r--r--libsqlitepp/sqlite-modifycommand.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/libsqlitepp/sqlite-modifycommand.h b/libsqlitepp/sqlite-modifycommand.h
new file mode 100644
index 0000000..657639b
--- /dev/null
+++ b/libsqlitepp/sqlite-modifycommand.h
@@ -0,0 +1,25 @@
+#ifndef SQLITE_MODIFYCOMMAND_H
+#define SQLITE_MODIFYCOMMAND_H
+
+#include <modifycommand.h>
+#include "sqlite-command.h"
+
+namespace SQLite {
+ class Connection;
+ class ModifyCommand : public DB::ModifyCommand, public Command {
+ public:
+ ModifyCommand(const Connection *, const std::string & sql);
+ virtual ~ModifyCommand();
+
+ unsigned int execute(bool);
+
+ private:
+ void prepare() const;
+ mutable bool prepared;
+ };
+}
+
+#endif
+
+
+