From: <dav...@us...> - 2008-09-05 01:06:53
|
Revision: 198 http://pgsqlformac.svn.sourceforge.net/pgsqlformac/?rev=198&view=rev Author: davydgeyl Date: 2008-09-05 01:07:00 +0000 (Fri, 05 Sep 2008) Log Message: ----------- record count is a very useful information, it must be accessible. Modified Paths: -------------- trunk/PGSQLKit/PGSQLRecordset.h trunk/PGSQLKit/PGSQLRecordset.m Modified: trunk/PGSQLKit/PGSQLRecordset.h =================================================================== --- trunk/PGSQLKit/PGSQLRecordset.h 2008-09-04 01:12:37 UTC (rev 197) +++ trunk/PGSQLKit/PGSQLRecordset.h 2008-09-05 01:07:00 UTC (rev 198) @@ -31,6 +31,8 @@ -(NSArray *)columns; +- (long)recordCount; + -(PGSQLRecord *)moveFirst; -(PGSQLRecord *)movePrevious; -(PGSQLRecord *)moveNext; Modified: trunk/PGSQLKit/PGSQLRecordset.m =================================================================== --- trunk/PGSQLKit/PGSQLRecordset.m 2008-09-04 01:12:37 UTC (rev 197) +++ trunk/PGSQLKit/PGSQLRecordset.m 2008-09-05 01:07:00 UTC (rev 198) @@ -69,6 +69,11 @@ return columns; } +- (long)recordCount +{ + return rowCount; +} + - (PGSQLRecord *)moveNext { if (rowCount == 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |