summaryrefslogtreecommitdiff
path: root/libpqpp/pq-cursorselectcommand.h
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-01-04 17:54:29 +0000
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-01-04 17:54:29 +0000
commitd6e8b1c5a787641dc63fc50c9b35cc7427a33b65 (patch)
tree55e450e83034a97d685a93779c939573f1c2b41c /libpqpp/pq-cursorselectcommand.h
parentUse bulk select not cursor select for getId, far fewer operations (diff)
downloadlibdbpp-postgresql-d6e8b1c5a787641dc63fc50c9b35cc7427a33b65.tar.bz2
libdbpp-postgresql-d6e8b1c5a787641dc63fc50c9b35cc7427a33b65.tar.xz
libdbpp-postgresql-d6e8b1c5a787641dc63fc50c9b35cc7427a33b65.zip
Add PQ specific command options to control page size and the use of bulk -v- cursor selects
Diffstat (limited to 'libpqpp/pq-cursorselectcommand.h')
-rw-r--r--libpqpp/pq-cursorselectcommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/pq-cursorselectcommand.h b/libpqpp/pq-cursorselectcommand.h
index e7a67e6..417cff9 100644
--- a/libpqpp/pq-cursorselectcommand.h
+++ b/libpqpp/pq-cursorselectcommand.h
@@ -11,7 +11,7 @@ namespace PQ {
class Column;
class CursorSelectCommand : public SelectBase, public Command {
public:
- CursorSelectCommand(Connection *, const std::string & sql, unsigned int no);
+ CursorSelectCommand(Connection *, const std::string & sql, unsigned int no, const PQ::CommandOptions *);
virtual ~CursorSelectCommand();
bool fetch() override;