Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/ADORecordSet.php')
-rw-r--r--src/classes/ADORecordSet.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/classes/ADORecordSet.php b/src/classes/ADORecordSet.php
index cb3cd9df..74c3f989 100644
--- a/src/classes/ADORecordSet.php
+++ b/src/classes/ADORecordSet.php
@@ -25,6 +25,16 @@ class ADORecordSet extends \ADORecordSet implements \Countable
}
/**
+ * synonyms RecordCount and RowCount.
+ *
+ * @return int number of rows or -1 if this is not supported
+ */
+ public function recordCount()
+ {
+ return $this->count();
+ }
+
+ /**
* Returns the recordCount.
*
* @param int $fieldoffset