Count (NotesDocumentCollection - JavaScript)

Read-only. The number of documents in a collection.

Defined in

NotesDocumentCollection

Syntax

getCount() : int

Examples

This computed field displays the number of documents in the current database.
return database.getAllDocuments().getCount().toFixed()