package influxdb

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Precision represents the different precisions supported for timestamps

type t =
  1. | Nanosecond
  2. | Microsecond
  3. | Millisecond
  4. | Second
  5. | Minute
  6. | Hour
val to_string : t -> string

Returns the string of t using the InfluxDB line protocol

val of_string : string -> t option

Creates t from a line protocol precision value. None if the string is invalid

OCaml

Innovation. Community. Security.