beam-postgres-0.5.2.1: Connection layer between beam and postgres
Safe Haskell None
Language Haskell2010

Database.Beam.Postgres.CustomTypes

Documentation

data PgType a Source #

Instances

Instances details
IsDatabaseEntity Postgres ( PgType a) Source #
Instance details

Defined in Database.Beam.Postgres.CustomTypes

IsCheckedDatabaseEntity Postgres ( PgType a) Source #
Instance details

Defined in Database.Beam.Postgres.CustomTypes

RenamableWithRule ( FieldRenamer ( DatabaseEntityDescriptor Postgres ( PgType a))) Source #
Instance details

Defined in Database.Beam.Postgres.CustomTypes

type DatabaseEntityRegularRequirements Postgres ( PgType a) Source #
Instance details

Defined in Database.Beam.Postgres.CustomTypes

type DatabaseEntityDefaultRequirements Postgres ( PgType a) Source #
Instance details

Defined in Database.Beam.Postgres.CustomTypes

data DatabaseEntityDescriptor Postgres ( PgType a) Source #
Instance details

Defined in Database.Beam.Postgres.CustomTypes

type CheckedDatabaseEntityDefaultRequirements Postgres ( PgType a) Source #
Instance details

Defined in Database.Beam.Postgres.CustomTypes

data CheckedDatabaseEntityDescriptor Postgres ( PgType a) Source #
Instance details

Defined in Database.Beam.Postgres.CustomTypes

data PgHasEnum Source #

Instances

Instances details
Eq PgHasEnum Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Show PgHasEnum Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Generic PgHasEnum Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Hashable PgHasEnum Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

DatabasePredicate PgHasEnum Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Rep PgHasEnum Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

class HasSqlValueSyntax expr ty Source #

Minimal complete definition

sqlValueSyntax

Instances

Instances details
HasSqlValueSyntax SqlSyntaxBuilder Bool
Instance details

Defined in Database.Beam.Backend.SQL.Builder

( TypeError ( PreferExplicitSize Int Int32 ) :: Constraint ) => HasSqlValueSyntax SqlSyntaxBuilder Int
Instance details

Defined in Database.Beam.Backend.SQL.Builder

HasSqlValueSyntax SqlSyntaxBuilder Int32
Instance details

Defined in Database.Beam.Backend.SQL.Builder

HasSqlValueSyntax SqlSyntaxBuilder Text
Instance details

Defined in Database.Beam.Backend.SQL.Builder

HasSqlValueSyntax SqlSyntaxBuilder SqlNull
Instance details

Defined in Database.Beam.Backend.SQL.Builder

HasSqlValueSyntax Value Bool
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Double
Instance details

Defined in Database.Beam.Backend.SQL.AST

( TypeError ( PreferExplicitSize Int Int32 ) :: Constraint ) => HasSqlValueSyntax Value Int
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Int16
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Int32
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Int64
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Integer
Instance details

Defined in Database.Beam.Backend.SQL.AST

( TypeError ( PreferExplicitSize Word Word32 ) :: Constraint ) => HasSqlValueSyntax Value Word
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Word16
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Word32
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Word64
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value ByteString
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value String
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value UTCTime
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Text
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value SqlNull
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value LocalTime
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value TimeOfDay
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax Value Day
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax HsExpr Bool
Instance details

Defined in Database.Beam.Haskell.Syntax

HasSqlValueSyntax HsExpr Int32
Instance details

Defined in Database.Beam.Haskell.Syntax

HasSqlValueSyntax PgValueSyntax Bool Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Double Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Float Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

( TypeError ( PreferExplicitSize Int Int32 ) :: Constraint ) => HasSqlValueSyntax PgValueSyntax Int Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Int8 Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Int16 Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Int32 Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Int64 Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Integer Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

( TypeError ( PreferExplicitSize Word Word32 ) :: Constraint ) => HasSqlValueSyntax PgValueSyntax Word Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Word8 Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Word16 Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Word32 Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Word64 Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax ByteString Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax ByteString Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Scientific Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax UTCTime Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Text Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Value Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Text Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax SqlNull Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Oid Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax HStoreBuilder Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax HStoreList Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax HStoreMap Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax LocalTimestamp Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax UTCTimestamp Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Date Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax LocalTime Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax TimeOfDay Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax NominalDiffTime Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax Day Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax UUID Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax PgRegex Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

HasSqlValueSyntax PgValueSyntax PgBox Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

HasSqlValueSyntax PgValueSyntax PgLineSegment Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

HasSqlValueSyntax PgValueSyntax PgLine Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

HasSqlValueSyntax PgValueSyntax PgPoint Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

HasSqlValueSyntax PgValueSyntax PgMoney Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

HasSqlValueSyntax syntax x => HasSqlValueSyntax syntax ( SqlSerial x)
Instance details

Defined in Database.Beam.Backend.SQL.SQL92

HasSqlValueSyntax Value x => HasSqlValueSyntax Value ( Maybe x)
Instance details

Defined in Database.Beam.Backend.SQL.AST

HasSqlValueSyntax PgValueSyntax [ Char ] Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax x => HasSqlValueSyntax PgValueSyntax ( Maybe x) Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax ( CI Text ) Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasSqlValueSyntax PgValueSyntax ( CI Text ) Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

ToField a => HasSqlValueSyntax PgValueSyntax ( Vector a) Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

ToJSON a => HasSqlValueSyntax PgValueSyntax ( PgJSONB a) Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

ToJSON a => HasSqlValueSyntax PgValueSyntax ( PgJSON a) Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

( HasSqlValueSyntax PgValueSyntax a, PgIsRange n) => HasSqlValueSyntax PgValueSyntax ( PgRange n a) Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

HasSqlValueSyntax vs t => HasSqlValueSyntax vs ( Tagged tag t)
Instance details

Defined in Database.Beam.Backend.SQL.SQL92

class BeamBackend be => FromBackendRow be a Source #

Instances

Instances details
BeamBackend be => FromBackendRow be ()
Instance details

Defined in Database.Beam.Backend.SQL.Row

FromBackendRow Postgres Bool Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Char Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Double Source #
Instance details

Defined in Database.Beam.Postgres.Types

( TypeError ( PreferExplicitSize Int Int32 ) :: Constraint ) => FromBackendRow Postgres Int Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Int16 Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Int32 Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Int64 Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Integer Source #
Instance details

Defined in Database.Beam.Postgres.Types

( TypeError ( PreferExplicitSize Word Word32 ) :: Constraint ) => FromBackendRow Postgres Word Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Word16 Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Word32 Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Word64 Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres ByteString Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres ByteString Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Scientific Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres UTCTime Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Text Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Value Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Text Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres SqlNull Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Oid Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres HStoreList Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres HStoreMap Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Null Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres LocalTimestamp Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres UTCTimestamp Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres ZonedTimestamp Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Date Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres LocalTime Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres TimeOfDay Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres Day Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres UUID Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres PgBox Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

FromBackendRow Postgres PgPoint Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

FromBackendRow Postgres PgMoney Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

FromBackendRow Postgres TsQuery Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

FromBackendRow Postgres TsVector Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

( BeamBackend be, Generic (tbl Identity ), Generic (tbl Exposed ), GFromBackendRow be ( Rep (tbl Exposed )) ( Rep (tbl Identity ))) => FromBackendRow be (tbl Identity )
Instance details

Defined in Database.Beam.Backend.SQL.Row

( BeamBackend be, Generic (tbl ( Nullable Identity )), Generic (tbl ( Nullable Exposed )), GFromBackendRow be ( Rep (tbl ( Nullable Exposed ))) ( Rep (tbl ( Nullable Identity )))) => FromBackendRow be (tbl ( Nullable Identity ))
Instance details

Defined in Database.Beam.Backend.SQL.Row

FromBackendRow be x => FromBackendRow be ( SqlSerial x)
Instance details

Defined in Database.Beam.Backend.SQL.Row

( FromBackendRow be x, FromBackendRow be SqlNull ) => FromBackendRow be ( Maybe x)
Instance details

Defined in Database.Beam.Backend.SQL.Row

FromBackendRow Postgres [ Char ] Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres ( Ratio Integer ) Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres ( CI Text ) Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres ( CI Text ) Source #
Instance details

Defined in Database.Beam.Postgres.Types

( FromField a, Typeable a) => FromBackendRow Postgres ( PGRange a) Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres ( Binary ByteString ) Source #
Instance details

Defined in Database.Beam.Postgres.Types

FromBackendRow Postgres ( Binary ByteString ) Source #
Instance details

Defined in Database.Beam.Postgres.Types

( FromField a, Typeable a) => FromBackendRow Postgres ( PGArray a) Source #
Instance details

Defined in Database.Beam.Postgres.Types

( FromField a, Typeable a) => FromBackendRow Postgres ( Vector a) Source #
Instance details

Defined in Database.Beam.Postgres.Types

( Typeable a, FromJSON a) => FromBackendRow Postgres ( PgJSONB a) Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

( Typeable a, FromJSON a) => FromBackendRow Postgres ( PgJSON a) Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

( BeamBackend be, KnownNat n, FromBackendRow be a) => FromBackendRow be ( Vector n a)
Instance details

Defined in Database.Beam.Backend.SQL.Row

( BeamBackend be, FromBackendRow be a, FromBackendRow be b) => FromBackendRow be (a, b)
Instance details

Defined in Database.Beam.Backend.SQL.Row

( FromField a, FromField b, Typeable a, Typeable b) => FromBackendRow Postgres ( Either a b) Source #
Instance details

Defined in Database.Beam.Postgres.Types

( FromField a, Typeable a, Typeable n, Ord a) => FromBackendRow Postgres ( PgRange n a) Source #
Instance details

Defined in Database.Beam.Postgres.PgSpecific

( BeamBackend be, FromBackendRow be t) => FromBackendRow be ( Tagged tag t)
Instance details

Defined in Database.Beam.Backend.SQL.Row

( BeamBackend be, FromBackendRow be a, FromBackendRow be b, FromBackendRow be c) => FromBackendRow be (a, b, c)
Instance details

Defined in Database.Beam.Backend.SQL.Row

( BeamBackend be, FromBackendRow be a, FromBackendRow be b, FromBackendRow be c, FromBackendRow be d) => FromBackendRow be (a, b, c, d)
Instance details

Defined in Database.Beam.Backend.SQL.Row

( BeamBackend be, FromBackendRow be a, FromBackendRow be b, FromBackendRow be c, FromBackendRow be d, FromBackendRow be e) => FromBackendRow be (a, b, c, d, e)
Instance details

Defined in Database.Beam.Backend.SQL.Row

( BeamBackend be, FromBackendRow be a, FromBackendRow be b, FromBackendRow be c, FromBackendRow be d, FromBackendRow be e, FromBackendRow be f) => FromBackendRow be (a, b, c, d, e, f)
Instance details

Defined in Database.Beam.Backend.SQL.Row

( BeamBackend be, FromBackendRow be a, FromBackendRow be b, FromBackendRow be c, FromBackendRow be d, FromBackendRow be e, FromBackendRow be f, FromBackendRow be g) => FromBackendRow be (a, b, c, d, e, f, g)
Instance details

Defined in Database.Beam.Backend.SQL.Row

Methods

fromBackendRow :: FromBackendRowM be (a, b, c, d, e, f, g) Source #

valuesNeeded :: Proxy be -> Proxy (a, b, c, d, e, f, g) -> Int Source #

( BeamBackend be, FromBackendRow be a, FromBackendRow be b, FromBackendRow be c, FromBackendRow be d, FromBackendRow be e, FromBackendRow be f, FromBackendRow be g, FromBackendRow be h) => FromBackendRow be (a, b, c, d, e, f, g, h)
Instance details

Defined in Database.Beam.Backend.SQL.Row

Methods

fromBackendRow :: FromBackendRowM be (a, b, c, d, e, f, g, h) Source #

valuesNeeded :: Proxy be -> Proxy (a, b, c, d, e, f, g, h) -> Int Source #