Add strict validation using regex for fields in SELECT, filters, GROUP BY, and ORDER BY clauses to avoid potential SQL injection risks. Refactor field parsing and validation logic into dedicated functions. |
||
|---|---|---|
| .. | ||
| mariadb | ||
| postgres | ||
| sqlite | ||
| __init__.py | ||
| database.py | ||
| db_manager.py | ||
| operator_map.py | ||
| query.py | ||
| schema.py | ||
| sequence.py | ||
| utils.py | ||