Support JSON and ARRAYS in RETURN statements

This commit is contained in:
Tobie Morgan Hitchcock 2016-10-29 18:46:48 +01:00
parent ca1ff0d62a
commit d4491d557b

View file

@ -20,7 +20,7 @@ func (p *parser) parseReturnStatement() (stmt *ReturnStatement, err error) {
for { for {
tok, lit, err := p.shouldBe(NULL, NOW, DATE, TIME, TRUE, FALSE, STRING, NUMBER, DOUBLE, PARAM) tok, lit, err := p.shouldBe(NULL, NOW, DATE, TIME, TRUE, FALSE, STRING, NUMBER, DOUBLE, THING, JSON, ARRAY, PARAM)
if err != nil { if err != nil {
return nil, err return nil, err
} }