Typedef
Static Public Summary | ||
public |
FieldType is an enumeration of InfluxDB field data types. |
Static Public
public FieldType: Number source
FieldType is an enumeration of InfluxDB field data types.
Example:
import { FieldType } from 'influx'; // or const FieldType = require('influx').FieldType
const schema = {
measurement: 'my_measurement',
fields: {
my_int: FieldType.INTEGER,
my_float: FieldType.FLOAT,
my_string: FieldType.STRING,
my_boolean: FieldType.BOOLEAN,
}
}