sqlconvert.process_tokens module

class sqlconvert.process_tokens.StatementGrouper(encoding=None)[source]

Bases: object

Collect lines and reparse until the last statement is complete

close()[source]
get_statements()[source]
process_line(line)[source]
process_lines()[source]
sqlconvert.process_tokens.escape_strings(token_list, dbname)[source]

Escape strings

sqlconvert.process_tokens.find_error(token_list)[source]

Find an error

sqlconvert.process_tokens.is_newline_statement(statement)[source]