【发布时间】:2020-01-13 19:26:55
【问题描述】:
我正在尝试使用来自 cli 的 -execute 在 influxDB 上运行命令
influx -execute 'select * from test_measurement where time > \‘2020-01-13T16:22:00Z\’ and time < \‘2020-01-13T16:22:30Z\’ -username uname -password pwd
查询没有运行,因为我无法为时间条件转义单引号(')。有人可以帮忙看看语法吗。
【问题讨论】: