select(FIELDS, CONSTANT_VALUE)...

11 views
Skip to first unread message

Daniel Roziecki

unread,
Dec 11, 2015, 5:26:34 AM12/11/15
to jOOQ User Group
Hi,

is there any way to do something like this?

select(TBL.FLD1, TBL.FLD2, CONSTANT_VALUE_IN_ALL_RESULT_ROWS) from etc...

Regards

Lukas Eder

unread,
Dec 11, 2015, 6:18:22 AM12/11/15
to jooq...@googlegroups.com
Hello Daniel,

Sure, you can simply use DSL.val() (bind variable) or DSL.inline() (inline constant) for this purpose. See also the relevant section in the manual:

Hope this helps,
Lukas

--
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 jooq-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Roziecki

unread,
Dec 11, 2015, 6:28:28 AM12/11/15
to jooq...@googlegroups.com
Great, thanks,

I missed this part.

--
You received this message because you are subscribed to a topic in the Google Groups "jOOQ User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jooq-user/5VwYfTPmW8k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jooq-user+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages