Functions - countClass()

This method counts the records in the given class.

Counting Records

You may want to check the size of your database from certain angles. Using this method you can find the number of records stored on a particular class. This can be useful in logging or reporting operations. For instance, you might use this with a social networking application to count the number of users registered with the service.

Syntax

var count = db.countClass(<class>)
  • <class> Defines the class name.

results matching ""

    No results matching ""