summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-02-14 14:46:52 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-02-14 14:46:52 +0000
commit26e6666d48d0c2e467603f07b60b91f825c55342 (patch)
treeacd6e8d8e9d0b0369ed1e6dbbf32810fe2b92146 /libpqpp
parentBump to C++20 for non-legacy CTF (diff)
downloadlibdbpp-postgresql-26e6666d48d0c2e467603f07b60b91f825c55342.tar.bz2
libdbpp-postgresql-26e6666d48d0c2e467603f07b60b91f825c55342.tar.xz
libdbpp-postgresql-26e6666d48d0c2e467603f07b60b91f825c55342.zip
enum class BulkUpdateslibdbpp-postgresql-1.4.7
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/pq-command.cpp1
-rw-r--r--libpqpp/pq-connection.cpp4
2 files changed, 2 insertions, 3 deletions
diff --git a/libpqpp/pq-command.cpp b/libpqpp/pq-command.cpp
index 8a79364..9e98eb5 100644
--- a/libpqpp/pq-command.cpp
+++ b/libpqpp/pq-command.cpp
@@ -1,5 +1,4 @@
#include "pq-command.h"
-#include <algorithm>
#include <compileTimeFormatter.h>
#include <dbTypes.h>
#include <factory.h>
diff --git a/libpqpp/pq-connection.cpp b/libpqpp/pq-connection.cpp
index a2ebe35..96e09f1 100644
--- a/libpqpp/pq-connection.cpp
+++ b/libpqpp/pq-connection.cpp
@@ -76,13 +76,13 @@ PQ::Connection::execute(const std::string & sql, const DB::CommandOptionsCPtr &)
DB::BulkDeleteStyle
PQ::Connection::bulkDeleteStyle() const
{
- return DB::BulkDeleteUsingSubSelect;
+ return DB::BulkDeleteStyle::UsingSubSelect;
}
DB::BulkUpdateStyle
PQ::Connection::bulkUpdateStyle() const
{
- return DB::BulkUpdateUsingFromSrc;
+ return DB::BulkUpdateStyle::UsingFromSrc;
}
void