diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-06-05 18:53:22 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-06-05 18:53:22 +0100 |
commit | 19609c41b15a818df30508576f50fc0eddc11636 (patch) | |
tree | b7b36a9e69689fd2be7c0660728af59eacb02d10 /libpqpp/pq-command.h | |
parent | Add wrappers for PQgetvalue and PQgetlength in column to simplify access (diff) | |
download | libdbpp-postgresql-19609c41b15a818df30508576f50fc0eddc11636.tar.bz2 libdbpp-postgresql-19609c41b15a818df30508576f50fc0eddc11636.tar.xz libdbpp-postgresql-19609c41b15a818df30508576f50fc0eddc11636.zip |
Support fetching data in binary format (no numeric, datetime, interval support yet)
Diffstat (limited to 'libpqpp/pq-command.h')
-rw-r--r-- | libpqpp/pq-command.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libpqpp/pq-command.h b/libpqpp/pq-command.h index 989844c..2431639 100644 --- a/libpqpp/pq-command.h +++ b/libpqpp/pq-command.h @@ -15,10 +15,12 @@ namespace PQ { CommandOptions(std::size_t, const DB::CommandOptionsMap &); CommandOptions(std::size_t hash, unsigned int fetchTuples = 35, - bool useCursor = true); + bool useCursor = true, + bool fetchBinary = false); unsigned int fetchTuples; bool useCursor; + bool fetchBinary; }; class Command : public virtual DB::Command { |