(req *SqlSelect)
| 1300 | } |
| 1301 | |
| 1302 | func (m *Sqlbridge) parseInto(req *SqlSelect) error { |
| 1303 | |
| 1304 | if m.Cur().T != lex.TokenInto { |
| 1305 | return nil |
| 1306 | } |
| 1307 | m.Next() // Consume Into token |
| 1308 | if m.Cur().T != lex.TokenTable { |
| 1309 | return m.ErrMsg("expected table") |
| 1310 | } |
| 1311 | if strings.ToLower(m.Cur().V) == "FROM" { |
| 1312 | return m.ErrMsg("expected table") |
| 1313 | } |
| 1314 | req.Into = &SqlInto{Table: m.Cur().V} |
| 1315 | m.Next() |
| 1316 | return nil |
| 1317 | } |
| 1318 | |
| 1319 | func (m *Sqlbridge) parseWhereSubSelect(req *SqlSelect) error { |
| 1320 |
no test coverage detected