opaleye-0.6.7005.0: An SQL-generating DSL targeting PostgreSQL

Safe HaskellNone
LanguageHaskell2010

Opaleye.TypeFamilies

Synopsis

Documentation

type TableRecordField f a b c d = A f (TC '('(a, b, c), d)) Source #

type RecordField f a b c = A f (C '(a, b, c)) Source #

type (:<*>) = S Source #

type (:<$>) f = (:<*>) (Pure f) Source #

type Id = I Source #

type Pure = K Source #

type family IMap f a Source #

Instances
type IMap Nulled NullsT Source # 
Instance details

Defined in Opaleye.Internal.Join

type IMap Nulled OT Source # 
Instance details

Defined in Opaleye.Internal.Join

type F = H Source #

type O = H OT Source #

Type families parameter for Opaleye types (Field SqlString, Field SqlInt4, etc.)

type H = H HT Source #

Type families parameter for Haskell types (String, Int, etc.)

type W = H WT Source #

Type families parameter for Opaleye write types (i.e. wrapped in Maybe for optional types)

type N = Nullable Source #

Used in RecordField and TableRecordField for a nullable field

type NN = NonNullable Source #

Used in RecordField and TableRecordField for a non-nullable field

type Opt = OOpt Source #

TableRecordField for an optional field

type Req = OReq Source #

TableRecordField for a required field

type Nulls = H NullsT Source #

Type families parameter for nulled Opaleye types (FieldNullable SqlString, FieldNullable SqlInt4, etc.)

type TableField f a b c d = TableRecordField f a b c d Source #

Do not use. Use TableRecordField instead. Will be deprecated in version 0.7.