total_records

Db-related functions

Summary

total_records(string $recordType)

Return the total number of a given type of record in the database.

Parameters:
  • $recordType (string) – Type of record to count.
Returns:

integer Number of records of $recordType in the database.

Usage

Examples

See Also