mysqlparse
mysqlparse copied to clipboard
Python library for parsing SQL statements
support default CURRENT_TIMESTAMP
[Turns out](https://dev.mysql.com/doc/refman/5.7/en/create-table.html) that `setParseAction` callback is unable to return `None` as a default: > A parse action can modify the result (the toks argument) by returning the modified list. If...
Currently it's done by version, but maybe MySQL statement based milestones would make more sense? E.g. have a milestone for `'ALTER TABLE' support` and break it down into the different...
Like these [here](https://github.com/seporaitis/mysqlparse/blob/master/tests/grammar/test_alter_table.py#L146): ``` statement.alter_specification[1].key_block_size[0] ``` The `key_block_size` is always a single value, would be nice to avoid the unnecessary indexing. If someone knows how to do it in `pyparsing`...
Like example [here](https://github.com/seporaitis/mysqlparse/blob/master/tests/grammar/test_alter_table.py#L144): ``` statement.alter_specification[1].index_columns[2].length[0] ``` `length[0]` will always be an integer. I wonder should an utility function for parsing action be written that does that or does `pyparsing` support...
Bumps [wheel](https://github.com/pypa/wheel) from 0.23.0 to 0.38.1. Changelog Sourced from wheel's changelog. Release Notes UNRELEASED Updated vendored packaging to 22.0 0.38.4 (2022-11-09) Fixed PKG-INFO conversion in bdist_wheel mangling UTF-8 header values...