Function sql_parser::lexer::lex [−][src]
Expand description
Lexes a SQL query.
Returns a list of tokens alongside their corresponding byte offset in the input string. Returns an error if the SQL query is lexically invalid.
See the module documentation for more information about the lexical structure of SQL.