summaryrefslogtreecommitdiff
path: root/libpqpp/pq-command.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-command.h')
-rw-r--r--libpqpp/pq-command.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libpqpp/pq-command.h b/libpqpp/pq-command.h
index 2c0bf14..056706e 100644
--- a/libpqpp/pq-command.h
+++ b/libpqpp/pq-command.h
@@ -4,9 +4,21 @@
#include <command.h>
#include <libpq-fe.h>
#include <vector>
+#include <visibility.h>
namespace PQ {
class Connection;
+
+ class DLL_PUBLIC CommandOptions : public DB::CommandOptions {
+ public:
+ CommandOptions(std::size_t hash,
+ unsigned int fetchTuples = 35,
+ bool useCursor = true);
+
+ unsigned int fetchTuples;
+ bool useCursor;
+ };
+
class Command : public virtual DB::Command {
public:
Command(Connection *, const std::string & sql, unsigned int no);