getTotalRows

(Since 1.2.0) -- Get the total number of results found using findRecords
Find the total number of matching records (disregarding pagination).

Examples

<?php
$pods = new Pod('pod_name');
$pods->findRecords('id DESC', 10);
$total_rows = $pods->getTotalRows();
 
echo $total_rows; // Sample output: "514"
?>