Formats a raw SQL string for human-readable display using sqlparse.
Registered as a process-text handler.
| Parameter | Description |
|---|---|
Param1 |
Raw SQL string to format |
Passes Param1 through sqlparse.format() with reindent=True, then wraps the result in a <pre> block.
Returns an HTML <pre> block containing the formatted SQL.
ObjProcessText(ObjData.ObjData) — inherits database and config access from ObjData.
cythonize -3 -a -i ObjTextSqlFormat.py
Updated : 2025-10-02