Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Overview

Function

getRecordCount(tableName, success, error)

Description

Returns the total record count of a table.

OutputThe record count in the ‘message’ element within the argument of the success callback.

Example

client.getRecordCount(“SampleTable”, function(data) {
      console.log (data[“message”]);
}, function(error) {
      console.log(“error occured: ” + error[“message”]);  
});

Sample output

 3
  • No labels