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

Method accept0

jOOQ/src/main/java/org/jooq/impl/JSONObject.java:169–371  ·  view source on GitHub ↗
(Context<?> ctx)

Source from the content-addressed store, hash-verified

167 }
168
169 final void accept0(Context<?> ctx) {
170 switch (ctx.family()) {
171
172
173 case POSTGRES:
174 case YUGABYTEDB:
175 if (onNull == JSONOnNull.ABSENT_ON_NULL)
176 ctx.visit(getDataType().getType() == JSONB.class ? N_JSONB_STRIP_NULLS : N_JSON_STRIP_NULLS).sql('(');
177
178 ctx.visit(getDataType().getType() == JSONB.class ? N_JSONB_BUILD_OBJECT : N_JSON_BUILD_OBJECT).sql('(').visit(QueryPartCollectionView.wrap(entries)).sql(')');
179
180 if (onNull == JSONOnNull.ABSENT_ON_NULL)
181 ctx.sql(')');
182
183 break;
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226

Callers 1

acceptMethod · 0.95

Calls 15

wrapMethod · 0.95
jsonMergeMethod · 0.95
nvl2Method · 0.95
jsonObjectMethod · 0.95
isJSONArrayMethod · 0.95
acceptStandardMethod · 0.95
fieldMethod · 0.95
coalesceMethod · 0.95
jsonObjectAggMethod · 0.95
functionMethod · 0.95
concatMethod · 0.95
inlineMethod · 0.95

Tested by

no test coverage detected