Hi Felix,

What's the use-case for doing that?

Of course, you could put your records into a Result (create one using
DSLContext.newResult()) and call Result.formatJSON() on it...

Thanks,
Lukas

Am Mi., 27. Juni 2018 um 01:16 Uhr schrieb <[email protected]>:

> Lukas,
>>
>>
> I am wondering if there is a easy syntax on converting the InsertQuery
> object into a json object like the
>
>
> {"fields":
>         [
>         
> {"schema":"schema-1","table":"table-1","name":"field-1","type":"type-1"},
>         
> {"schema":"schema-1","table":"table-1","name":"field-2","type":"type-2"},
>         ...,
>         
> {"schema":"schema-1","table":"table-1","name":"field-n","type":"type-n"}
>         ],
>
> "records":
>         [
>                 [value-1-1,value-1-2,...,value-1-n],
>                 [value-2-1,value-2-2,...,value-2-n]
>         ]
> }
>
>
> --
> 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.
>

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