Add back in field parsing expressions

This commit is contained in:
Tobie Morgan Hitchcock 2016-11-04 11:17:11 +00:00
parent 57f49576db
commit defe873d7d

View file

@ -22,7 +22,7 @@ func (p *parser) parseSelectStatement() (stmt *SelectStatement, err error) {
stmt.NS = p.c.Get("NS").(string) stmt.NS = p.c.Get("NS").(string)
stmt.DB = p.c.Get("DB").(string) stmt.DB = p.c.Get("DB").(string)
if stmt.Expr, err = p.parseExpr(); err != nil { if stmt.Expr, err = p.parseField(); err != nil {
return nil, err return nil, err
} }