diff options
Diffstat (limited to 'docs/source')
| -rw-r--r-- | docs/source/api.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/source/api.rst b/docs/source/api.rst index 99e50e2..518a428 100644 --- a/docs/source/api.rst +++ b/docs/source/api.rst @@ -35,6 +35,14 @@ The :meth:`~sqlparse.format` function accepts the following keyword arguments. ``strip_comments`` If ``True`` comments are removed from the statements. +``truncate_strings`` + If ``truncate_strings`` is a positive integer, string literals longer than + the given value will be truncated. + +``truncate_char`` (default: "[...]") + If long string literals are truncated (see above) this value will be append + to the truncated string. + ``reindent`` If ``True`` the indentations of the statements are changed. |
