更新与InfluxDB中的条件匹配的多个字段值 [英] Update multiple field values matching a condition in InfluxDB
本文介绍了更新与InfluxDB中的条件匹配的多个字段值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在InfluxDB测量中,如何更新与查询匹配的点的字段值?从v1.6开始,这仍然不容易实现吗?
In an InfluxDB measurement, how can the field values of points matching a query be updated? Is this still not easily doable as of v1.6?
如该GitHub票证中的示例所示,实现这种目标的最干净的方法是什么?
As the example in that GitHub ticket suggested, what's the cleanest way of achieving something like this?
UPDATE access_log SET username='something' WHERE mac='xxx'
查看全文