Client - Scoped, Global

Provides methods to add data to the MetricBase database, to execute transforms on the MetricBase database, and to receive the results of the transforms.

The Client class can be used in scoped and global server scripts. When using the Client class, use the sn_clotho namespace identifier.

This class is part of the MetricBase application.

Scoped Client - Client()

Creates an instance of the client class to access the MetricBase database.

Table 1. Parameters
Name Type Description
var client = new sn_clotho.Client();

Scoped Client - put(DataBuilder metricData)

Save metric data to the MetricBase database.

Table 2. Parameters
Name Type Description
metricData DataBuilder A DataBuilder object containing metric data.
Table 3. Returns
Type Description