NewSqlLexer creates a new lexer for the input string using SqlDialect this is sql(ish) compatible parser.
(input string)
| 213 | // NewSqlLexer creates a new lexer for the input string using SqlDialect |
| 214 | // this is sql(ish) compatible parser. |
| 215 | func NewSqlLexer(input string) *Lexer { |
| 216 | return NewLexer(input, SqlDialect) |
| 217 | } |
| 218 | |
| 219 | // find any keyword that starts a source |
| 220 | // FROM <name> |