Reputation: 3640
How can I give an alias for a field where I am using is not null
, for example
create.select(SOMETABLE.ID.isNotNull()
I can't use .as(..)
after isNotNull()
Thanks
I am using an old version of jooq, 3.4.x. I don't think it matters but I am using apache derby.
Upvotes: 2
Views: 83
Reputation: 220762
Use DSL.field(Condition)
to turn a Condition
into a Field<Boolean>
Upvotes: 1