formatter
Module contains functionality for formatting PQL objects as PQL string.
PQLColumnFormatter ¶
OrderByColumnFormatter ¶
Class to format OrderByColumn as string.
format ¶
Formats given OrderByColumn.
Parameters:
-
column
(OrderByColumn
) –Column to format.
Returns:
-
str
–String containing formatted column.
PQLFormatter ¶
Class to format PQL query as string.
Parameters:
-
pql_column_formatter
(Optional[PQLColumnFormatter]
, default:None
) –Formatter to use for PQLColumn.
-
order_by_column_formatter
(Optional[OrderByColumnFormatter]
, default:None
) –Formatter to use for OrderByColumn.