我用Influx记录了一些串行数据,并显示了这些数据的报告。 我有这样的要求: 获取价值的总和在时间07:00至09:00,从2017年5月11日至2017年5月17日。 在MySQL中,这是很容易的,因为你可以使用一个查询得到这个值: select sum(value) from series where time(time) >= '07:00:00' and time(time) < '09
我正在从这样的代码中查询inlfluxdb数据库。 q := fmt.Sprintf("select step,timeTaken from ZtpBoot where cvpVersion =
2017.1.1 group by step,numberOfDevices"
res, _ := queryDB(clnt, q)
Result when executing qu