aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresResult.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-10 11:09:56 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-10 11:09:56 +0000
commit7dd33a85a537c410cd3b31d661731b1f8d1e7d59 (patch)
tree2881a6fc037767140f0d0a0eaed5000a58c98c09 /Frameworks/PostgresKit/Source/FLXPostgresResult.h
parent12ad4fae862bc157cd133b42ed8f204bc273058a (diff)
downloadsequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.tar.gz
sequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.tar.bz2
sequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.zip
Rework type handling; reducing the number of paremeters being passed around as well as libpq calls.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresResult.h')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresResult.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresResult.h b/Frameworks/PostgresKit/Source/FLXPostgresResult.h
index b779e1b1..4148ba3d 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresResult.h
+++ b/Frameworks/PostgresKit/Source/FLXPostgresResult.h
@@ -20,10 +20,16 @@
// License for the specific language governing permissions and limitations under
// the License.
-#import "FLXConstants.h"
-
@class FLXPostgresConnection;
+// Result set row types
+typedef enum
+{
+ FLXPostgresResultRowAsArray = 1,
+ FLXPostgresResultRowAsDictionary = 2
+}
+FLXPostgresResultRowType;
+
@interface FLXPostgresResult : NSObject
{
void *_result;