标签: database influxdb time-format
当我使用“curl”查询我的Influx数据库时,我得到一个时间的结果,格式如下:“2017-02-07T15:29:46.393796063Z”。 我需要纳秒,如我查询时Influx本身所示。 我能怎么做?
答案 0 :(得分:0)
我找到了解决方案: 只需在curl请求中使用标记--data-urlencode epoch="n"。 其中n是纳秒。
--data-urlencode epoch="n"
n