opaleye-0.9.5.1: An SQL-generating DSL targeting PostgreSQL
Safe HaskellSafe-Inferred
LanguageHaskell2010

Opaleye.TypeFamilies

Description

Deprecated: No longer supported

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 #

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