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

Database.Beam.Postgres.Syntax

Description

Data types for Postgres syntax. Access is given mainly for extension modules. The types and definitions here are likely to change.

Synopsis

Documentation

newtype PgSyntax Source #

A piece of Postgres SQL syntax, which may contain embedded escaped byte and text sequences. PgSyntax composes monoidally, and may be created with emit , emitBuilder , escapeString , escapBytea , and escapeIdentifier .

Constructors

PgSyntax

data PgCommandSyntax Source #

Representation of an arbitrary Postgres command. This is the combination of the command syntax (repesented by PgSyntax ), as well as the type of command (represented by PgCommandType ). The command type is necessary for us to know how to retrieve results from the database.

Instances

Instances details
IsSql92Syntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql92DdlCommandSyntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92DeleteSyntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92UpdateSyntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92InsertSyntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92SelectSyntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92DdlCommandDropTableSyntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92DdlCommandAlterTableSyntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92DdlCommandCreateTableSyntax PgCommandSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

newtype PgSelectSyntax Source #

newtype PgExpressionSyntax Source #

Instances

Instances details
Eq PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsCustomSqlSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2003ExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2003ExpressionAdvancedOLAPOperationsSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2003ExpressionElementaryOLAPOperationsSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2003EnhancedNumericFunctionsExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2003EnhancedNumericFunctionsAggregationExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Methods

stddevPopE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax Source #

stddevSampE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax Source #

varPopE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax Source #

varSampE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax Source #

covarPopE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

covarSampE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

corrE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrSlopeE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrInterceptE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrCountE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrRSquaredE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrAvgXE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrAvgYE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrSXXE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrSXYE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

regrSYYE :: Maybe ( Sql92AggregationSetQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

IsSql2003NtileExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2003LeadAndLagExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2003FirstValueAndLastValueExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2003NthValueExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql99FunctionExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql99ExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql99ConcatExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql99AggregationExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql92ExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Methods

valueE :: Sql92ExpressionValueSyntax PgExpressionSyntax -> PgExpressionSyntax Source #

rowE :: [ PgExpressionSyntax ] -> PgExpressionSyntax Source #

quantifierListE :: [ PgExpressionSyntax ] -> PgExpressionSyntax Source #

coalesceE :: [ PgExpressionSyntax ] -> PgExpressionSyntax Source #

caseE :: [( PgExpressionSyntax , PgExpressionSyntax )] -> PgExpressionSyntax -> PgExpressionSyntax Source #

fieldE :: Sql92ExpressionFieldNameSyntax PgExpressionSyntax -> PgExpressionSyntax Source #

betweenE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

andE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

orE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

addE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

subE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

mulE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

divE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

likeE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

modE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

overlapsE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

nullIfE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

positionE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

eqE :: Maybe ( Sql92ExpressionQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

neqE :: Maybe ( Sql92ExpressionQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

ltE :: Maybe ( Sql92ExpressionQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

gtE :: Maybe ( Sql92ExpressionQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

leE :: Maybe ( Sql92ExpressionQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

geE :: Maybe ( Sql92ExpressionQuantifierSyntax PgExpressionSyntax ) -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

eqMaybeE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

neqMaybeE :: PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

castE :: PgExpressionSyntax -> Sql92ExpressionCastTargetSyntax PgExpressionSyntax -> PgExpressionSyntax Source #

notE :: PgExpressionSyntax -> PgExpressionSyntax Source #

negateE :: PgExpressionSyntax -> PgExpressionSyntax Source #

isNullE :: PgExpressionSyntax -> PgExpressionSyntax Source #

isNotNullE :: PgExpressionSyntax -> PgExpressionSyntax Source #

isTrueE :: PgExpressionSyntax -> PgExpressionSyntax Source #

isNotTrueE :: PgExpressionSyntax -> PgExpressionSyntax Source #

isFalseE :: PgExpressionSyntax -> PgExpressionSyntax Source #

isNotFalseE :: PgExpressionSyntax -> PgExpressionSyntax Source #

isUnknownE :: PgExpressionSyntax -> PgExpressionSyntax Source #

isNotUnknownE :: PgExpressionSyntax -> PgExpressionSyntax Source #

charLengthE :: PgExpressionSyntax -> PgExpressionSyntax Source #

octetLengthE :: PgExpressionSyntax -> PgExpressionSyntax Source #

bitLengthE :: PgExpressionSyntax -> PgExpressionSyntax Source #

lowerE :: PgExpressionSyntax -> PgExpressionSyntax Source #

upperE :: PgExpressionSyntax -> PgExpressionSyntax Source #

trimE :: PgExpressionSyntax -> PgExpressionSyntax Source #

absE :: PgExpressionSyntax -> PgExpressionSyntax Source #

extractE :: Sql92ExpressionExtractFieldSyntax PgExpressionSyntax -> PgExpressionSyntax -> PgExpressionSyntax Source #

existsE :: Sql92ExpressionSelectSyntax PgExpressionSyntax -> PgExpressionSyntax Source #

uniqueE :: Sql92ExpressionSelectSyntax PgExpressionSyntax -> PgExpressionSyntax Source #

subqueryE :: Sql92ExpressionSelectSyntax PgExpressionSyntax -> PgExpressionSyntax Source #

currentTimestampE :: PgExpressionSyntax Source #

defaultE :: PgExpressionSyntax Source #

inE :: PgExpressionSyntax -> [ PgExpressionSyntax ] -> PgExpressionSyntax Source #

IsSql92AggregationExpressionSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsString ( CustomSqlSyntax PgExpressionSyntax ) Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Semigroup ( CustomSqlSyntax PgExpressionSyntax ) Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Monoid ( CustomSqlSyntax PgExpressionSyntax ) Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

newtype CustomSqlSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql2003ExpressionWindowFrameSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ExpressionExtractFieldSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ExpressionCastTargetSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ExpressionFieldNameSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ExpressionSelectSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ExpressionValueSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ExpressionQuantifierSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92AggregationSetQuantifierSyntax PgExpressionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

newtype PgValueSyntax Source #

Instances

Instances details
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 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

newtype PgCreateTableSyntax Source #

Instances

Instances details
IsSql92CreateTableSyntax PgCreateTableSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92CreateTableOptionsSyntax PgCreateTableSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92CreateTableTableConstraintSyntax PgCreateTableSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92CreateTableColumnSchemaSyntax PgCreateTableSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92CreateTableTableNameSyntax PgCreateTableSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

newtype PgColumnSchemaSyntax Source #

Instances

Instances details
Eq PgColumnSchemaSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Show PgColumnSchemaSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Hashable PgColumnSchemaSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Sql92DisplaySyntax PgColumnSchemaSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql92ColumnSchemaSyntax PgColumnSchemaSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ColumnSchemaColumnConstraintDefinitionSyntax PgColumnSchemaSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ColumnSchemaExpressionSyntax PgColumnSchemaSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ColumnSchemaColumnTypeSyntax PgColumnSchemaSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

data PgDataTypeSyntax Source #

Instances

Instances details
Eq PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Show PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Hashable PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql2008BigIntDataTypeSyntax PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql99DataTypeSyntax PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Sql92DisplaySyntax PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql92DataTypeSyntax PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

HasDataTypeCreatedCheck PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Methods

dataTypeHasBeenCreated :: PgDataTypeSyntax -> ( forall preCondition. Typeable preCondition => [preCondition]) -> Bool Source #

Sql92SerializableDataTypeSyntax PgDataTypeSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

data PgColumnConstraintDefinitionSyntax Source #

Instances

Instances details
Eq PgColumnConstraintDefinitionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Show PgColumnConstraintDefinitionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Hashable PgColumnConstraintDefinitionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Sql92DisplaySyntax PgColumnConstraintDefinitionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

IsSql92ColumnConstraintDefinitionSyntax PgColumnConstraintDefinitionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Sql92SerializableConstraintDefinitionSyntax PgColumnConstraintDefinitionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ColumnConstraintDefinitionAttributesSyntax PgColumnConstraintDefinitionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ColumnConstraintDefinitionConstraintSyntax PgColumnConstraintDefinitionSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

data PgColumnConstraintSyntax Source #

Instances

Instances details
IsSql92ColumnConstraintSyntax PgColumnConstraintSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ColumnConstraintExpressionSyntax PgColumnConstraintSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ColumnConstraintReferentialActionSyntax PgColumnConstraintSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Sql92ColumnConstraintMatchTypeSyntax PgColumnConstraintSyntax Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

data PgSelectLockingStrength Source #

Specifies the level of lock that will be taken against a row. See the manual section for more information.

Instances

Instances details
Eq PgSelectLockingStrength Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Show PgSelectLockingStrength Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Generic PgSelectLockingStrength Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Rep PgSelectLockingStrength Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Rep PgSelectLockingStrength = D1 (' MetaData "PgSelectLockingStrength" "Database.Beam.Postgres.Syntax" "beam-postgres-0.5.2.1-CN79CkilEEcFHvUglPBQts" ' False ) (( C1 (' MetaCons "PgSelectLockingStrengthUpdate" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "PgSelectLockingStrengthNoKeyUpdate" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "PgSelectLockingStrengthShare" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "PgSelectLockingStrengthKeyShare" ' PrefixI ' False ) ( U1 :: Type -> Type )))

data PgSelectLockingOptions Source #

Specifies how we should handle lock conflicts.

See the manual section for more information

Constructors

PgSelectLockingOptionsNoWait

NOWAIT . Report an error rather than waiting for the lock

PgSelectLockingOptionsSkipLocked

SKIP LOCKED . Rather than wait for a lock, skip the row instead

data PgDataTypeDescr Source #

Instances

Instances details
Eq PgDataTypeDescr Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Show PgDataTypeDescr Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Generic PgDataTypeDescr Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

Hashable PgDataTypeDescr Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

type Rep PgDataTypeDescr Source #
Instance details

Defined in Database.Beam.Postgres.Syntax

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

pgTsVectorTypeInfo :: TypeInfo Source #

Postgres TypeInfo for tsvector TODO Is the Oid stable from postgres instance to postgres instance?