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

Project Versions

Table Of Contents

Previous topic

get_record_by_id

Next topic

Collection-related functions

This Page