Closed
Description
Hi,
First, I want to thank you for providing this library to simplify the integration of JSONB with JOOQ 👍.
My issue is about providing extension functions for Kotlin projects. Now, jooq supports Kotlin from generator to code, so it could be good to be able to use this kind of syntax:
// PODCAST.METADATA is of type Field<JSONB?>
val youtubeField = PODCAST.METADATA.objectAtPathText("youtube", "channelId")
private fun Field<JSONB?>.objectAtPathText(vararg path: String): Field<String> {
return DSL.field("{0}#>>{1}", String::class.java, this, DSL.array(*path))
}
If you are interested, I can provide a PR for that if you let me know how do you want to proceed to integrate Kotlin code.