Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3

Overview

Function

getRecordCount(tableName, success, error)

Description

Returns the total record count of a table.

OutputA JSON String array containing the The record count in the ‘message’ element within the argument of the success callback.

Example

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

Sample output

Code Block
languagetext
  3