summaryrefslogtreecommitdiff
path: root/libpqpp/connection.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-11 14:55:07 +0000
committerrandomdan <randomdan@localhost>2011-02-11 14:55:07 +0000
commit3d06746c56dc2a83638648f044f796842a94f890 (patch)
tree37c662c8df13b2cdca7a4da9669547fd264803aa /libpqpp/connection.h
parentFix binding length to handle multibyte content (diff)
downloadlibdbpp-postgresql-3d06746c56dc2a83638648f044f796842a94f890.tar.bz2
libdbpp-postgresql-3d06746c56dc2a83638648f044f796842a94f890.tar.xz
libdbpp-postgresql-3d06746c56dc2a83638648f044f796842a94f890.zip
Support for table patching in different ways according to what the connector says
Introduce two proper methods of bulk update Tested against PG 8.4, MySQL 5.1 with single and multiple column keys
Diffstat (limited to 'libpqpp/connection.h')
-rw-r--r--libpqpp/connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpqpp/connection.h b/libpqpp/connection.h
index da13e6c..8dafe84 100644
--- a/libpqpp/connection.h
+++ b/libpqpp/connection.h
@@ -15,6 +15,8 @@ namespace PQ {
int rollbackTx() const;
bool inTx() const;
void ping() const;
+ DB::BulkDeleteStyle bulkDeleteStyle() const;
+ DB::BulkUpdateStyle bulkUpdateStyle() const;
DB::SelectCommand * newSelectCommand(const std::string & sql) const;
DB::ModifyCommand * newModifyCommand(const std::string & sql) const;