1. I've only seen reference to "contains()" and I would like the inverse.
To make matters worse I would like to use a constant (known value, local
variable) on the left hand side in part because I'm failing at crafting a
sub-select for that single value.
2. I'm having trouble accessing a CTE: Notice below that the on() clause is
NOT using the CTE. I am unable to get the correct handle to the CTE. I
need to replace the *first* "a.PROBANDS" with the single value returned by
the CTE.
Probandset a = PROBANDSET.as("a");
ctx.with("cte").as(ctx.selectFrom(PROBANDSET).where(PROBANDSET.ID.eq(supersetId)))
.insertInto(PROBANDSET_GROUP_MEMBER,
PROBANDSET_GROUP_MEMBER.GROUP_ID,
PROBANDSET_GROUP_MEMBER.MEMBER_ID)
.select(ctx.select(pbsgRec.field1(),PROBANDSET.ID)
.from("cte").join(a).on(a.PROBANDS.contains(a.PROBANDS)))
.execute();
}
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.