ObjPgSQL  Diff

Differences From Artifact [3b43b74b64]:

To Artifact [a066a8eda5]:


28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
	return PQntuples(_result);
}

- (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







|
<










28
29
30
31
32
33
34
35

36
37
38
39
40
41
42
43
44
45
{
	return PQntuples(_result);
}

- (id)objectAtIndex: (size_t)index
{
	if (index > PQntuples(_result))
		@throw [OFOutOfRangeException exception];


	return [PGResultRow rowWithResult: self
				      row: (int)index];
}

- (PGresult*)PG_result
{
	return _result;
}
@end