(SimpleDataKey key, C ctx, Query... queries)
| 6505 | } |
| 6506 | |
| 6507 | private static final <C extends Context<? extends C>> C preOrAppendSQL(SimpleDataKey key, C ctx, Query... queries) { |
| 6508 | ctx.data().compute(key, (k, v) -> { |
| 6509 | String sql = ctx.dsl().renderInlined(ctx.dsl().queries(queries)); |
| 6510 | |
| 6511 | if (v == null) |
| 6512 | return sql; |
| 6513 | else |
| 6514 | return v + sql; |
| 6515 | }); |
| 6516 | |
| 6517 | return ctx; |
| 6518 | } |
| 6519 | |
| 6520 | // ------------------------------------------------------------------------- |
| 6521 | // XXX: ForkJoinPool ManagedBlock implementation |
no test coverage detected