aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/PGPostgresConnection.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-06-18 13:38:26 +0000
committerstuconnolly <stuart02@gmail.com>2013-06-18 13:38:26 +0000
commit80c152501303c0ed7bd530f5e05bc7e5a6fba7f5 (patch)
tree4b1e7106a4b32a21a9aa9e050c9851908949484b /Frameworks/PostgresKit/Source/PGPostgresConnection.h
parent33dbe8d35c3e681c5a8cfd223be50ae7c769cf15 (diff)
downloadsequelpro-80c152501303c0ed7bd530f5e05bc7e5a6fba7f5.tar.gz
sequelpro-80c152501303c0ed7bd530f5e05bc7e5a6fba7f5.tar.bz2
sequelpro-80c152501303c0ed7bd530f5e05bc7e5a6fba7f5.zip
PostgresKit: Add a new property to return the number of rows affected by the last executed query.
Diffstat (limited to 'Frameworks/PostgresKit/Source/PGPostgresConnection.h')
-rw-r--r--Frameworks/PostgresKit/Source/PGPostgresConnection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Frameworks/PostgresKit/Source/PGPostgresConnection.h b/Frameworks/PostgresKit/Source/PGPostgresConnection.h
index bf1f51d0..f68b17ae 100644
--- a/Frameworks/PostgresKit/Source/PGPostgresConnection.h
+++ b/Frameworks/PostgresKit/Source/PGPostgresConnection.h
@@ -49,6 +49,8 @@
NSUInteger _timeout;
NSUInteger _keepAliveInterval;
+ unsigned long long _lastQueryAffectedRowCount;
+
BOOL _useSocket;
BOOL _useKeepAlive;
BOOL _lastQueryWasCancelled;
@@ -77,6 +79,8 @@
@property (readonly) NSStringEncoding stringEncoding;
@property (readonly) PGPostgresConnectionParameters *parameters;
+@property (readonly) unsigned long long lastQueryAffectedRowCount;
+
@property (readwrite, assign) BOOL useSocket;
@property (readwrite, assign) BOOL useKeepAlive;
@property (readwrite, assign) BOOL lastQueryWasCancelled;