Enable query params for VERSION in queries

This commit is contained in:
Tobie Morgan Hitchcock 2017-02-20 01:18:13 +00:00
parent fbb0bd79bd
commit ac868694eb

View file

@ -298,7 +298,7 @@ func (p *parser) parseVersion() (Expr, error) {
return nil, nil
}
tok, lit, err := p.shouldBe(DATE, TIME)
tok, lit, err := p.shouldBe(DATE, TIME, PARAM)
if err != nil {
return nil, &ParseError{Found: lit, Expected: []string{"timestamp"}}
}