From b82216af2174904c5a9704f285730b873f69537e Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Wed, 7 Sep 2016 16:59:01 +0100 Subject: [PATCH] Enable setting fields to record ids --- sql/data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/data.go b/sql/data.go index d0a7942d..92343f7f 100644 --- a/sql/data.go +++ b/sql/data.go @@ -67,7 +67,7 @@ func (p *Parser) parseSet() (mul []Expr, err error) { } one.Op = tok - tok, lit, err = p.shouldBe(IDENT, NULL, VOID, NOW, DATE, TIME, TRUE, FALSE, STRING, REGION, NUMBER, DOUBLE, JSON, ARRAY, PARAM) + tok, lit, err = p.shouldBe(IDENT, THING, NULL, VOID, NOW, DATE, TIME, TRUE, FALSE, STRING, REGION, NUMBER, DOUBLE, JSON, ARRAY, PARAM) if err != nil { return nil, &ParseError{Found: lit, Expected: []string{"field value"}} }