The Select action defines which fields are returned, and which subfunction to invoke to do something with the data. You can also use a Select action to filter which data to return. The typical format of a Select action is as follows:
\"action\":\"select\",\"invoke\":\"subFunction\",\"parameters\":[ {\"modulefields\": [ { fields to fetch} ], \"filter\ ":\"filter parameters\"}]
Code Segment | Description |
"action\": | This command starts the select function. |
"subFunction\" | A subfunction performs further actions on the data returned. |
"parameters\": | This flag specifies which fields to return, and the filter to use to determine from which records fields are retrieved.
|
{\"modulefields\"} | The entire modulefields array is enclosed within braces {}. All fields within these braces are read and stored in a single row of data. Note that you can read more than one dataset by adding a comma (,) after the closing bracket, and performing another |
|