Hi all

I'm trying to use jOOQ with Kotlin. 

When using the IN predicate, I get a compiler error "Expecting an element"

val record = DSL.select(TABLE.COL)
  .from(TABLE)
  .where(TABLE.COL.in(collection))
  .fetch()

The compiler claims that .in() is "Expecting an element" (that's the whole 
error message)

It seems that Kotlin is trying to apply its own in() operator to TABLE.COL 
instead of using jOOQ's (but I'm not really sure about that)

Should this work? Am I missing something?

Thanks for any insight ...

best 
Markus

-- 
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.

Reply via email to