Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data JSONBuildObjectFields Source #
Combine JSONBuildObjectFields
using (
<>
)
:: String | Field name |
-> Field_ n a | Field value |
-> JSONBuildObjectFields |
Given a label and a field, generates a pair for use with jsonBuildObject
jsonBuildObject :: JSONBuildObjectFields -> Field SqlJson Source #
Create an SqlJson
object from a collection of fields.
Note: This is implemented as a variadic function in postgres, and as such, is limited to 50 arguments, or 25 key-value pairs.