From 80c152501303c0ed7bd530f5e05bc7e5a6fba7f5 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 18 Jun 2013 13:38:26 +0000 Subject: PostgresKit: Add a new property to return the number of rows affected by the last executed query. --- Frameworks/PostgresKit/Source/PGPostgresConnection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Frameworks/PostgresKit/Source/PGPostgresConnection.h') 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; -- cgit v1.2.3