Schema
The Schema provides information and utilities for an InfluxDB measurement.
Method Summary
| Public Methods | ||
| public | 
       checkTags(tags: *): * Throws an error if the tags include values other than what was specified in the schema.  | 
    |
| public | 
       coerceFields(fields: *): * CoerceFields converts a map of field values to a strings which can be injected into the line protocol without further escaping.  | 
    |
| Private Methods | ||
| private | 
       _ref(field: *): * Returns the 'db'.'measurement'[.'field'] referencing the current schema.  | 
    |
Public Methods
public checkTags(tags: *): * source
Throws an error if the tags include values other than what was specified in the schema. It returns a list of tag names.
Params:
| Name | Type | Attribute | Description | 
| tags | * | 
Return:
| * | 
public coerceFields(fields: *): * source
CoerceFields converts a map of field values to a strings which can be injected into the line protocol without further escaping. The output is given in [key, value] pairs.
Params:
| Name | Type | Attribute | Description | 
| fields | * | 
Return:
| * | 
Private Methods
private _ref(field: *): * source
Returns the 'db'.'measurement'[.'field'] referencing the current schema.
Params:
| Name | Type | Attribute | Description | 
| field | * | 
Return:
| * | 
    
  