mysqlparse icon indicating copy to clipboard operation
mysqlparse copied to clipboard

Python library for parsing SQL statements

Results 10 mysqlparse issues
Sort by recently updated
recently updated
newest added

[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...

Foreign keys in particular.

enhancement

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...

help wanted
question

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`...

enhancement
help wanted

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...

enhancement
help wanted

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...

dependencies