.. -*- coding: utf-8 -*- .. :Project: pglast -- DO NOT EDIT: generated automatically .. :Author: Lele Gaifax .. :License: GNU General Public License version 3 or later .. :Copyright: © 2017-2022 Lele Gaifax .. ====================================================== :mod:`pglast.printers.dml` --- DML printer functions ====================================================== .. module:: pglast.printers.dml :synopsis: DML printer functions .. index:: A_ArrayExpr .. function:: a_array_expr(node, output) Pretty print a `node` of type `A_ArrayExpr `__ to the `output` stream. .. index:: A_Const .. function:: a_const(node, output) Pretty print a `node` of type `A_Const `__ to the `output` stream. .. index:: A_Expr .. function:: a_expr(node, output) Pretty print a `node` of type `A_Expr `__ to the `output` stream. .. index:: A_Indices .. function:: a_indices(node, output) Pretty print a `node` of type `A_Indices `__ to the `output` stream. .. index:: A_Indirection .. function:: a_indirection(node, output) Pretty print a `node` of type `A_Indirection `__ to the `output` stream. .. index:: pair: A_Indirection;A_Star .. function:: a_indirection_a_star(node, output) Pretty print a `node` of type `A_Star `__, when it is inside a `A_Indirection `__, to the `output` stream. .. index:: pair: A_Indirection;ColumnRef .. function:: a_indirection_column_ref(node, output) Pretty print a `node` of type `ColumnRef `__, when it is inside a `A_Indirection `__, to the `output` stream. .. index:: pair: A_Indirection;FuncCall .. function:: a_indirection_func_call(node, output) Pretty print a `node` of type `FuncCall `__, when it is inside a `A_Indirection `__, to the `output` stream. .. index:: pair: A_Indirection;String .. function:: a_indirection_field(node, output) Pretty print a `node` of type `String `__, when it is inside a `A_Indirection `__, to the `output` stream. .. index:: A_Star .. function:: a_star(node, output) Pretty print a `node` of type `A_Star `__ to the `output` stream. .. index:: Alias .. function:: alias(node, output) Pretty print a `node` of type `Alias `__ to the `output` stream. .. index:: BitString .. function:: bitstring(node, output) Pretty print a `node` of type `BitString `__ to the `output` stream. .. index:: BoolExpr .. function:: bool_expr(node, output) Pretty print a `node` of type `BoolExpr `__ to the `output` stream. .. index:: BooleanTest .. function:: boolean_test(node, output) Pretty print a `node` of type `BooleanTest `__ to the `output` stream. .. index:: CallStmt .. function:: call_stmt(node, output) Pretty print a `node` of type `CallStmt `__ to the `output` stream. .. index:: CaseExpr .. function:: case_expr(node, output) Pretty print a `node` of type `CaseExpr `__ to the `output` stream. .. index:: CaseWhen .. function:: case_when(node, output) Pretty print a `node` of type `CaseWhen `__ to the `output` stream. .. index:: CoalesceExpr .. function:: coalesce_expr(node, output) Pretty print a `node` of type `CoalesceExpr `__ to the `output` stream. .. index:: CollateClause .. function:: collate_clause(node, output) Pretty print a `node` of type `CollateClause `__ to the `output` stream. .. index:: ColumnRef .. function:: column_ref(node, output) Pretty print a `node` of type `ColumnRef `__ to the `output` stream. .. index:: CommonTableExpr .. function:: common_table_expr(node, output) Pretty print a `node` of type `CommonTableExpr `__ to the `output` stream. .. index:: ConstraintsSetStmt .. function:: constraints_set_stmt(node, output) Pretty print a `node` of type `ConstraintsSetStmt `__ to the `output` stream. .. index:: CopyStmt .. function:: copy_stmt(node, output) Pretty print a `node` of type `CopyStmt `__ to the `output` stream. .. index:: pair: CopyStmt;DefElem .. function:: copy_stmt_def_elem(node, output) Pretty print a `node` of type `DefElem `__, when it is inside a `CopyStmt `__, to the `output` stream. .. index:: DeclareCursorStmt .. function:: declare_cursor_stmt(node, output) Pretty print a `node` of type `DeclareCursorStmt `__ to the `output` stream. .. index:: DeleteStmt .. function:: delete_stmt(node, output) Pretty print a `node` of type `DeleteStmt `__ to the `output` stream. .. index:: ExecuteStmt .. function:: execute_stmt(node, output) Pretty print a `node` of type `ExecuteStmt `__ to the `output` stream. .. index:: ExplainStmt .. function:: explain_stmt(node, output) Pretty print a `node` of type `ExplainStmt `__ to the `output` stream. .. index:: pair: ExplainStmt;DefElem .. function:: explain_stmt_def_elem(node, output) Pretty print a `node` of type `DefElem `__, when it is inside a `ExplainStmt `__, to the `output` stream. .. index:: FetchStmt .. function:: fetch_stmt(node, output) Pretty print a `node` of type `FetchStmt `__ to the `output` stream. .. index:: Float .. function:: float(node, output) Pretty print a `node` of type `Float `__ to the `output` stream. .. index:: FuncCall .. function:: func_call(node, output) Pretty print a `node` of type `FuncCall `__ to the `output` stream. .. index:: pair: FuncCall;WindowDef .. function:: func_call_window_def(node, output) Pretty print a `node` of type `WindowDef `__, when it is inside a `FuncCall `__, to the `output` stream. .. index:: GroupingSet .. function:: grouping_set(node, output) Pretty print a `node` of type `GroupingSet `__ to the `output` stream. .. index:: GroupingFunc .. function:: grouping_func(node, output) Pretty print a `node` of type `GroupingFunc `__ to the `output` stream. .. index:: IndexElem .. function:: index_elem(node, output) Pretty print a `node` of type `IndexElem `__ to the `output` stream. .. index:: InferClause .. function:: infer_clause(node, output) Pretty print a `node` of type `InferClause `__ to the `output` stream. .. index:: Integer .. function:: integer(node, output) Pretty print a `node` of type `Integer `__ to the `output` stream. .. index:: InsertStmt .. function:: insert_stmt(node, output) Pretty print a `node` of type `InsertStmt `__ to the `output` stream. .. index:: IntoClause .. function:: into_clause(node, output) Pretty print a `node` of type `IntoClause `__ to the `output` stream. .. index:: JoinExpr .. function:: join_expr(node, output) Pretty print a `node` of type `JoinExpr `__ to the `output` stream. .. index:: LockingClause .. function:: locking_clause(node, output) Pretty print a `node` of type `LockingClause `__ to the `output` stream. .. index:: ListenStmt .. function:: listen_stmt(node, output) Pretty print a `node` of type `ListenStmt `__ to the `output` stream. .. index:: MinMaxExpr .. function:: min_max_expr(node, output) Pretty print a `node` of type `MinMaxExpr `__ to the `output` stream. .. index:: MultiAssignRef .. function:: multi_assign_ref(node, output) Pretty print a `node` of type `MultiAssignRef `__ to the `output` stream. .. index:: NamedArgExpr .. function:: named_arg_expr(node, output) Pretty print a `node` of type `NamedArgExpr `__ to the `output` stream. .. index:: Null .. function:: null(node, output) Pretty print a `node` of type `Null `__ to the `output` stream. .. index:: NullTest .. function:: null_test(node, output) Pretty print a `node` of type `NullTest `__ to the `output` stream. .. index:: ParamRef .. function:: param_ref(node, output) Pretty print a `node` of type `ParamRef `__ to the `output` stream. .. index:: PrepareStmt .. function:: prepare_stmt(node, output) Pretty print a `node` of type `PrepareStmt `__ to the `output` stream. .. index:: OnConflictClause .. function:: on_conflict_clause(node, output) Pretty print a `node` of type `OnConflictClause `__ to the `output` stream. .. index:: RangeFunction .. function:: range_function(node, output) Pretty print a `node` of type `RangeFunction `__ to the `output` stream. .. index:: RangeSubselect .. function:: range_subselect(node, output) Pretty print a `node` of type `RangeSubselect `__ to the `output` stream. .. index:: RangeTableFunc .. function:: range_table_func(node, output) Pretty print a `node` of type `RangeTableFunc `__ to the `output` stream. .. index:: pair: RangeTableFunc;ResTarget .. function:: range_table_func_res_target(node, output) Pretty print a `node` of type `ResTarget `__, when it is inside a `RangeTableFunc `__, to the `output` stream. .. index:: RangeTableFuncCol .. function:: range_table_func_col(node, output) Pretty print a `node` of type `RangeTableFuncCol `__ to the `output` stream. .. index:: RangeVar .. function:: range_var(node, output) Pretty print a `node` of type `RangeVar `__ to the `output` stream. .. index:: RangeTableSample .. function:: range_table_sample(node, output) Pretty print a `node` of type `RangeTableSample `__ to the `output` stream. .. index:: RawStmt .. function:: raw_stmt(node, output) Pretty print a `node` of type `RawStmt `__ to the `output` stream. .. index:: ResTarget .. function:: res_target(node, output) Pretty print a `node` of type `ResTarget `__ to the `output` stream. .. index:: RowExpr .. function:: row_expr(node, output) Pretty print a `node` of type `RowExpr `__ to the `output` stream. .. index:: SelectStmt .. function:: select_stmt(node, output) Pretty print a `node` of type `SelectStmt `__ to the `output` stream. .. index:: SetToDefault .. function:: set_to_default(node, output) Pretty print a `node` of type `SetToDefault `__ to the `output` stream. .. index:: SortBy .. function:: sort_by(node, output) Pretty print a `node` of type `SortBy `__ to the `output` stream. .. index:: SQLValueFunction .. function:: sql_value_function(node, output) Pretty print a `node` of type `SQLValueFunction `__ to the `output` stream. .. index:: String .. function:: string(node, output) Pretty print a `node` of type `String `__ to the `output` stream. .. index:: SubLink .. function:: sub_link(node, output) Pretty print a `node` of type `SubLink `__ to the `output` stream. .. index:: TransactionStmt .. function:: transaction_stmt(node, output) Pretty print a `node` of type `TransactionStmt `__ to the `output` stream. .. index:: pair: TransactionStmt;DefElem .. function:: transaction_stmt_def_elem(node, output) Pretty print a `node` of type `DefElem `__, when it is inside a `TransactionStmt `__, to the `output` stream. .. index:: TruncateStmt .. function:: truncate_stmt(node, output) Pretty print a `node` of type `TruncateStmt `__ to the `output` stream. .. index:: TypeCast .. function:: type_cast(node, output) Pretty print a `node` of type `TypeCast `__ to the `output` stream. .. index:: TypeName .. function:: type_name(node, output) Pretty print a `node` of type `TypeName `__ to the `output` stream. .. index:: UpdateStmt .. function:: update_stmt(node, output) Pretty print a `node` of type `UpdateStmt `__ to the `output` stream. .. index:: UnlistenStmt .. function:: unlisten_stmt(node, output) Pretty print a `node` of type `UnlistenStmt `__ to the `output` stream. .. index:: VariableSetStmt .. function:: variable_set_stmt(node, output) Pretty print a `node` of type `VariableSetStmt `__ to the `output` stream. .. index:: WithClause .. function:: with_clause(node, output) Pretty print a `node` of type `WithClause `__ to the `output` stream. .. index:: WindowDef .. function:: window_def(node, output) Pretty print a `node` of type `WindowDef `__ to the `output` stream. .. index:: pair: OnConflictClause;ResTarget .. index:: pair: UpdateStmt;ResTarget .. function:: update_stmt_res_target(node, output) Pretty print a `node` of type `ResTarget `__, when it is inside a `OnConflictClause `__ or a `UpdateStmt `__, to the `output` stream. .. index:: XmlExpr .. function:: xml_expr(node, output) Pretty print a `node` of type `XmlExpr `__ to the `output` stream. .. index:: XmlSerialize .. function:: xml_serialize(node, output) Pretty print a `node` of type `XmlSerialize `__ to the `output` stream.