A Wee Tiny Blog

Home || Downloads || Documentation || Change Log || License || Roadmap || Contact



 

Method: NumberOfEntries

Parameters

This function takes no parameters

Description

This method counts how many entries are currently stored in your database. While it may appear to be redundant considering there's also GetMaxEntryId, there's a small difference between their functions. You see, the entry ID is independent of the number of entries there are. If you create ten entries and then delete one, the highest entry ID will still be ten while there are only nine entries.

Return value

On success, this method returns the number of entries in your database.

Otherwise, it returns -1.


 

Hosting generously provided by
Get A Wee Tiny Blog at SourceForge.net. Fast, secure and Free Open Source software downloads