InfluxDB 复合查询

InfluxDB composite query

为什么这个函数不带结果?在 influxdb.

select * from items.movement
  where time > now() - 7d
    and oldContainerId='aaaaaa'
    and newContainerId='aaaaaaa'

谢谢。

我用这个解决了:

select * from series
  where time > now() - 7d
    and newContainerId = 'aaaa'
  limit 100;
select * from series
  where time > now() - 7d
    and oldContainerId = 'aaaa'
  limit 100
select *  from "items.movement" where time > now() - 7d and oldContainerId = 'aaaaaa' and newContainerId = 'aaaaaaa'

注意:Space 和双引号很重要。