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 4 Next »

Overview

Function

getRecordCount(tableName, success, error)

Description

Returns the total record count of a table.

OutputA JSON String array containing the 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

 
  • No labels