MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / toSQLFields

Method toSQLFields

jOOQ/src/main/java/org/jooq/impl/TableList.java:108–124  ·  view source on GitHub ↗

Get a list of names of the NamedQueryParts contained in this list.

(Context<?> ctx)

Source from the content-addressed store, hash-verified

106 * list.
107 */
108 final void toSQLFields(Context<?> ctx) {
109
110 // [#4151] [#6117] Some databases don't allow for qualifying column
111 // names here. Copy also to SelectQueryImpl
112 ctx.qualify(!UNQUALIFY_FIELDS.contains(ctx.dialect()) && ctx.qualify(), c -> {
113 String sep = "";
114
115 for (Table<?> table : this) {
116 for (Field<?> field : table.fieldsRow().fields()) {
117 ctx.sql(sep);
118 ctx.visit(field);
119
120 sep = ", ";
121 }
122 }
123 });
124 }
125}

Callers 1

acceptMethod · 0.80

Calls 7

qualifyMethod · 0.65
containsMethod · 0.65
dialectMethod · 0.65
fieldsMethod · 0.65
fieldsRowMethod · 0.65
sqlMethod · 0.65
visitMethod · 0.65

Tested by

no test coverage detected