From 4836c498a43d1342fb70d0f80e668428cc2ab49b Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Wed, 7 Sep 2016 17:01:32 +0100 Subject: [PATCH] Enable parsing tables as struct not string --- sql/util.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sql/util.go b/sql/util.go index b0d6c6db..5159994d 100644 --- a/sql/util.go +++ b/sql/util.go @@ -105,6 +105,9 @@ func (p *Parser) declare(tok Token, lit string) (interface{}, error) { case IDENT: return &Ident{lit}, nil + case TABLE: + return &Table{lit}, nil + case NOW: return time.Now(), nil