Enable query params for VERSION in queries
This commit is contained in:
parent
fbb0bd79bd
commit
ac868694eb
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ func (p *parser) parseVersion() (Expr, error) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
tok, lit, err := p.shouldBe(DATE, TIME)
|
tok, lit, err := p.shouldBe(DATE, TIME, PARAM)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, &ParseError{Found: lit, Expected: []string{"timestamp"}}
|
return nil, &ParseError{Found: lit, Expected: []string{"timestamp"}}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue