Пример #1
0
 public static function getRowsNumberOverLimitInSqlStatement($paramStatement)
 {
     $statement = DatabaseOperation::queryPDO($paramStatement);
     if ($statement) {
         $statement->execute();
         $resultFoundRows = DatabaseOperation::databaseAcces()->query('SELECT found_rows()');
         $RowsNumber = $resultFoundRows->fetchColumn();
     }
     return $RowsNumber;
 }