diff --git a/jOOQ-website/src/main/resources/manual-2.6.xml b/jOOQ-website/src/main/resources/manual-2.6.xml index 8c6a83432f..e9fb097112 100644 --- a/jOOQ-website/src/main/resources/manual-2.6.xml +++ b/jOOQ-website/src/main/resources/manual-2.6.xml @@ -4964,6 +4964,48 @@ public final void toSQL(RenderContext context) { +
+ Pretty printing SQL + +

+ As mentioned in the previous chapter about , there are some elements in the that are used for formatting / pretty-printing rendered SQL. In order to obtain pretty-printed SQL, just use the following : +

+ + + + +

+ And then, use the above factory to render pretty-printed SQL: +

+ + + + '1984' +group by "TEST"."AUTHOR"."LAST_NAME" +having count(*) = 2]]> + + +

+ The section about shows an example of how such pretty printing can be used to log readable SQL to the stdout. +

+
+
+
Variable binding