packages feed

hasql-auto-0.1.0.0: lib/Hasql/Auto/Types.hs

module Hasql.Auto.Types where

-- | Decode or encode the type via @ jsonb @ first
newtype ViaJSONB a = ViaJSONB {unViaJSONB :: a}

-- | Decode or encode the type via @ json @ first
newtype ViaJSON a = ViaJSON {unViaJSON :: a}