ALLOWED_FIELD_PATTERN already restricts fields to simple identifiers that cannot contain SQL comments, making the sqlparse.format(strip_comments=True) and MARIADB_SPECIFIC_COMMENT.sub() calls unnecessary overhead. Merged _sanitize_field into _validate_select_field. |
||
|---|---|---|
| .. | ||
| mariadb | ||
| postgres | ||
| sqlite | ||
| __init__.py | ||
| database.py | ||
| db_manager.py | ||
| operator_map.py | ||
| query.py | ||
| schema.py | ||
| sequence.py | ||
| utils.py | ||