diff options
Diffstat (limited to 'libmysqlpp/my-selectcommand.h')
-rw-r--r-- | libmysqlpp/my-selectcommand.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libmysqlpp/my-selectcommand.h b/libmysqlpp/my-selectcommand.h new file mode 100644 index 0000000..dc4937a --- /dev/null +++ b/libmysqlpp/my-selectcommand.h @@ -0,0 +1,26 @@ +#ifndef MY_SELECTCOMMAND_H +#define MY_SELECTCOMMAND_H + +#include <selectcommand.h> +#include "my-command.h" + +namespace MySQL { + class Connection; + class ColumnBase; + class SelectCommand : public DB::SelectCommand, public Command { + public: + SelectCommand(const Connection *, const std::string & sql); + + bool fetch(); + void execute(); + + private: + bool prepared; + bool executed; + Binds fields; + }; +} + +#endif + + |