32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
- (id)objectAtIndex: (size_t)index
{
if (index > PQntuples(result))
@throw [OFOutOfRangeException
exceptionWithClass: [self class]];
return [PGResultRow rowWithResult: self
row: index];
}
- (PGresult*)PG_result
{
return result;
}
@end
|
|
|
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
- (id)objectAtIndex: (size_t)index
{
if (index > PQntuples(result))
@throw [OFOutOfRangeException
exceptionWithClass: [self class]];
return [PGResultRow rowWithResult: self
row: (int)index];
}
- (PGresult*)PG_result
{
return result;
}
@end
|