Re: [influxdb] Is there an equivalent of IN () for the SELECT queries

2016-09-02 Thread Sean Beckett
There is no IN clause, but you can use regular expressions: SELECT * FROM measurement WHERE tag =~ /a|b|c/ https://docs.influxdata.com/influxdb/v0.13/query_language/data_exploration/#regular-expressions-in-queries https://golang.org/pkg/regexp/syntax/ On Thu, Sep 1, 2016 at 7:13 PM,

[influxdb] Is there an equivalent of IN () for the SELECT queries

2016-09-01 Thread tanya . unterberger
Hi, I was wondering whether there is an equivalent of SELECT * FROM measurement WHERE tag in ('a', 'b', 'c') I can write an OR query of course, but if there are more than a couple of options, it becomes quite tedious to dynamically construct a query. Thanks :) -- Remember to include the