Overview
Context
Changes
Added .gitignore version [0204c8019a].
|
1
2
3
4
5
|
+
+
+
+
+
|
build
*.dll
*.dylib
*.so
*~
|
| | | |
Added Makefile version [5bed738e9c].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
SRCS = PGConnection.m \
PGResult.m \
PGResultRow.m \
exceptions/PGCommandFailedException.m \
exceptions/PGConnectionFailedException.m \
exceptions/PGException.m
all:
@objfw-compile \
--lib 0.0 \
-o objpgsql \
--builddir build \
-Iexceptions \
-I. \
-lpq \
${SRCS}
test:
@objfw-compile \
-o test \
--builddir build \
-Iexceptions \
-I. \
-L. \
-lobjpgsql \
test.m
clean:
rm -f libobjpgsql.* exceptions/*~ *~
rm -fr build
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Added PGConnection.h version [6e2d36c890].
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
#include <libpq-fe.h>
#import <ObjFW/ObjFW.h>
#import "PGResult.h"
@interface PGConnection: OFObject
{
PGconn *conn;
OFDictionary *parameters;
}
#ifdef OF_HAVE_PROPERTIES
@property (copy) OFDictionary *parameters;
#endif
- (void)setParameters: (OFDictionary*)parameters;
- (OFDictionary*)parameters;
- (void)connect;
- (void)reset;
- (PGResult*)executeCommand: (OFString*)command;
- (PGResult*)executeCommand: (OFString*)command
parameters: (OFArray*)parameters;
- (PGconn*)PG_connection;
@end
|
| | | | | | | | | | | | | | | | | | | | | | | |
Added PGConnection.m version [8d29eddb59].