GETTABLE

Parameters

OrderNameTypeDesc
1assetasset listOptional A list of asset to get table entries for
2optionsmapA list containing query options

Returns

Places a map onto the stack.

Description

Gets a list of tabular data. The exact table is specified in the options map.

If an asset list is included, this function will return only lines valid for the given assets.

The map can (optionally) contain any of the following…

KeyDefaultMeaning
tablenoneThe table to query
tonow - 1 daysThe start time for the query, in UTC YYYY-MM-DD hh:mm:ss format
fromnowThe end time for the query, in UTC YYYY-MM-DD hh:mm:ss format

Example

A('TE101') {“Table”: “Calibrations”} GETTABLE

This function will return a map containing a list of each of the recent calibrations for device TE101.