I need to convert JOOQ's Result set of Record to a List of Table Record. Is there any method to do so?
Yes, you can use Result.into(Table)
. An example:
Result<?> result = create.fetch(...);
Table<MyRecord> MY_TABLE = ...
Result<MyRecord> other = result.into(MY_TABLE);
As Result
implements List
, this should do what you need
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With