| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Opaleye.Internal.JSONBuildObjectFields
Synopsis
Documentation
data JSONBuildObjectFields Source #
Combine JSONBuildObjectFields using (<>)
Instances
Arguments
| :: String | Field name  | 
| -> Column a | Field value  | 
| -> JSONBuildObjectFields | 
Given a label and a column, generates a pair for use with jsonBuildObject
jsonBuildObject :: JSONBuildObjectFields -> Column 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.