Safe Haskell | None |
---|---|
Language | Haskell2010 |
Names for nodes mostly resemble the according definitions in the gram.y
original Postgres parser file, except for the cases where we can optimize on that.
For reasoning see the docs of the parsing module of this project.
Synopsis
- data PreparableStmt
- data InsertStmt = InsertStmt (Maybe WithClause) InsertTarget InsertRest (Maybe OnConflict) (Maybe ReturningClause)
- data InsertTarget = InsertTarget QualifiedName (Maybe ColId)
- data InsertRest
- data OverrideKind
- type InsertColumnList = NonEmpty InsertColumnItem
- data InsertColumnItem = InsertColumnItem ColId (Maybe Indirection)
- data OnConflict = OnConflict (Maybe ConfExpr) OnConflictDo
- data OnConflictDo
- data ConfExpr
- type ReturningClause = TargetList
- data UpdateStmt = UpdateStmt (Maybe WithClause) RelationExprOptAlias SetClauseList (Maybe FromClause) (Maybe WhereOrCurrentClause) (Maybe ReturningClause)
- type SetClauseList = NonEmpty SetClause
- data SetClause
- data SetTarget = SetTarget ColId (Maybe Indirection)
- type SetTargetList = NonEmpty SetTarget
- data DeleteStmt = DeleteStmt (Maybe WithClause) RelationExprOptAlias (Maybe UsingClause) (Maybe WhereOrCurrentClause) (Maybe ReturningClause)
- type UsingClause = FromList
- type SelectStmt = Either SelectNoParens SelectWithParens
- data SelectWithParens
- data SelectNoParens = SelectNoParens (Maybe WithClause) SelectClause (Maybe SortClause) (Maybe SelectLimit) (Maybe ForLockingClause)
- type SelectClause = Either SimpleSelect SelectWithParens
- data SimpleSelect
- data Targeting
- type TargetList = NonEmpty TargetEl
- data TargetEl
- data SelectBinOp
- data WithClause = WithClause Bool (NonEmpty CommonTableExpr)
- data CommonTableExpr = CommonTableExpr Ident (Maybe (NonEmpty Ident)) (Maybe Bool) PreparableStmt
- type IntoClause = OptTempTableName
- data OptTempTableName
- = TemporaryOptTempTableName Bool QualifiedName
- | TempOptTempTableName Bool QualifiedName
- | LocalTemporaryOptTempTableName Bool QualifiedName
- | LocalTempOptTempTableName Bool QualifiedName
- | GlobalTemporaryOptTempTableName Bool QualifiedName
- | GlobalTempOptTempTableName Bool QualifiedName
- | UnloggedOptTempTableName Bool QualifiedName
- | TableOptTempTableName QualifiedName
- | QualifedOptTempTableName QualifiedName
- type FromClause = NonEmpty TableRef
- type GroupClause = NonEmpty GroupByItem
- data GroupByItem
- type HavingClause = AExpr
- type WindowClause = NonEmpty WindowDefinition
- data WindowDefinition = WindowDefinition Ident WindowSpecification
- data WindowSpecification = WindowSpecification (Maybe ExistingWindowName) (Maybe PartitionClause) (Maybe SortClause) (Maybe FrameClause)
- type ExistingWindowName = ColId
- type PartitionClause = ExprList
- data FrameClause = FrameClause FrameClauseMode FrameExtent (Maybe WindowExclusionClause)
- data FrameClauseMode
- data FrameExtent
- data FrameBound
- data WindowExclusionClause
- type ValuesClause = NonEmpty ExprList
- type SortClause = NonEmpty SortBy
- data SortBy
- data SelectLimit
- data LimitClause
- data SelectFetchFirstValue
- data SelectLimitValue
- data OffsetClause
- data ForLockingClause
- data ForLockingItem = ForLockingItem ForLockingStrength (Maybe (NonEmpty QualifiedName)) (Maybe Bool)
- data ForLockingStrength
- type FromList = NonEmpty TableRef
- data TableRef
- data RelationExpr
- data RelationExprOptAlias = RelationExprOptAlias RelationExpr (Maybe (Bool, ColId))
- data TablesampleClause = TablesampleClause FuncName ExprList (Maybe RepeatableClause)
- type RepeatableClause = AExpr
- data FuncTable
- data RowsfromItem = RowsfromItem FuncExprWindowless (Maybe ColDefList)
- type RowsfromList = NonEmpty RowsfromItem
- type ColDefList = TableFuncElementList
- type OptOrdinality = Bool
- type TableFuncElementList = NonEmpty TableFuncElement
- data TableFuncElement = TableFuncElement ColId Typename (Maybe CollateClause)
- type CollateClause = AnyName
- data AliasClause = AliasClause Bool ColId (Maybe NameList)
- data FuncAliasClause
- data JoinedTable
- data JoinMeth
- data JoinType
- data JoinQual
- type WhereClause = AExpr
- data WhereOrCurrentClause
- type ExprList = NonEmpty AExpr
- data AExpr
- = CExprAExpr CExpr
- | TypecastAExpr AExpr Typename
- | CollateAExpr AExpr AnyName
- | AtTimeZoneAExpr AExpr AExpr
- | PlusAExpr AExpr
- | MinusAExpr AExpr
- | SymbolicBinOpAExpr AExpr SymbolicExprBinOp AExpr
- | PrefixQualOpAExpr QualOp AExpr
- | SuffixQualOpAExpr AExpr QualOp
- | AndAExpr AExpr AExpr
- | OrAExpr AExpr AExpr
- | NotAExpr AExpr
- | VerbalExprBinOpAExpr AExpr Bool VerbalExprBinOp AExpr (Maybe AExpr)
- | ReversableOpAExpr AExpr Bool AExprReversableOp
- | IsnullAExpr AExpr
- | NotnullAExpr AExpr
- | OverlapsAExpr Row Row
- | SubqueryAExpr AExpr SubqueryOp SubType (Either SelectWithParens AExpr)
- | UniqueAExpr SelectWithParens
- | DefaultAExpr
- data BExpr
- data CExpr
- = ColumnrefCExpr Columnref
- | AexprConstCExpr AexprConst
- | ParamCExpr Int (Maybe Indirection)
- | InParensCExpr AExpr (Maybe Indirection)
- | CaseCExpr CaseExpr
- | FuncCExpr FuncExpr
- | SelectWithParensCExpr SelectWithParens (Maybe Indirection)
- | ExistsCExpr SelectWithParens
- | ArrayCExpr (Either SelectWithParens ArrayExpr)
- | ExplicitRowCExpr ExplicitRow
- | ImplicitRowCExpr ImplicitRow
- | GroupingCExpr ExprList
- data InExpr
- data SubType
- data ArrayExpr
- type ArrayExprList = NonEmpty ArrayExpr
- data Row
- type ExplicitRow = Maybe ExprList
- data ImplicitRow = ImplicitRow ExprList AExpr
- data FuncExpr
- data FuncExprWindowless
- type WithinGroupClause = SortClause
- type FilterClause = AExpr
- data OverClause
- data FuncExprCommonSubexpr
- = CollationForFuncExprCommonSubexpr AExpr
- | CurrentDateFuncExprCommonSubexpr
- | CurrentTimeFuncExprCommonSubexpr (Maybe Int64)
- | CurrentTimestampFuncExprCommonSubexpr (Maybe Int64)
- | LocalTimeFuncExprCommonSubexpr (Maybe Int64)
- | LocalTimestampFuncExprCommonSubexpr (Maybe Int64)
- | CurrentRoleFuncExprCommonSubexpr
- | CurrentUserFuncExprCommonSubexpr
- | SessionUserFuncExprCommonSubexpr
- | UserFuncExprCommonSubexpr
- | CurrentCatalogFuncExprCommonSubexpr
- | CurrentSchemaFuncExprCommonSubexpr
- | CastFuncExprCommonSubexpr AExpr Typename
- | ExtractFuncExprCommonSubexpr (Maybe ExtractList)
- | OverlayFuncExprCommonSubexpr OverlayList
- | PositionFuncExprCommonSubexpr (Maybe PositionList)
- | SubstringFuncExprCommonSubexpr (Maybe SubstrList)
- | TreatFuncExprCommonSubexpr AExpr Typename
- | TrimFuncExprCommonSubexpr (Maybe TrimModifier) TrimList
- | NullIfFuncExprCommonSubexpr AExpr AExpr
- | CoalesceFuncExprCommonSubexpr ExprList
- | GreatestFuncExprCommonSubexpr ExprList
- | LeastFuncExprCommonSubexpr ExprList
- data ExtractList = ExtractList ExtractArg AExpr
- data ExtractArg
- data OverlayList = OverlayList AExpr OverlayPlacing SubstrFrom (Maybe SubstrFor)
- type OverlayPlacing = AExpr
- data PositionList = PositionList BExpr BExpr
- data SubstrList
- data SubstrListFromFor
- type SubstrFrom = AExpr
- type SubstrFor = AExpr
- data TrimModifier
- data TrimList
- data CaseExpr = CaseExpr (Maybe CaseArg) WhenClauseList (Maybe CaseDefault)
- type CaseArg = AExpr
- type WhenClauseList = NonEmpty WhenClause
- type CaseDefault = AExpr
- data WhenClause = WhenClause AExpr AExpr
- data FuncApplication = FuncApplication FuncName (Maybe FuncApplicationParams)
- data FuncApplicationParams
- data FuncArgExpr
- type Sconst = Text
- type Iconst = Int64
- type Fconst = Double
- type Bconst = Text
- type Xconst = Text
- data AexprConst
- = IAexprConst Iconst
- | FAexprConst Fconst
- | SAexprConst Sconst
- | BAexprConst Bconst
- | XAexprConst Xconst
- | FuncAexprConst FuncName (Maybe FuncConstArgs) Sconst
- | ConstTypenameAexprConst ConstTypename Sconst
- | StringIntervalAexprConst Sconst (Maybe Interval)
- | IntIntervalAexprConst Iconst Sconst
- | BoolAexprConst Bool
- | NullAexprConst
- data FuncConstArgs = FuncConstArgs (NonEmpty FuncArgExpr) (Maybe SortClause)
- data ConstTypename
- data Numeric
- data Bit = Bit OptVarying (Maybe ExprList)
- type ConstBit = Bit
- type OptVarying = Bool
- data ConstCharacter = ConstCharacter Character (Maybe Int64)
- data Character
- data ConstDatetime
- type Timezone = Bool
- data Interval
- type IntervalSecond = Maybe Int64
- data Ident
- type ColId = Ident
- type ColLabel = Ident
- type Name = ColId
- type NameList = NonEmpty Name
- type CursorName = Name
- data Columnref = Columnref ColId (Maybe Indirection)
- data AnyName = AnyName ColId (Maybe Attrs)
- data FuncName
- type TypeFunctionName = Ident
- data QualifiedName
- type Indirection = NonEmpty IndirectionEl
- data IndirectionEl
- data Typename = Typename Bool SimpleTypename Bool (Maybe (TypenameArrayDimensions, Bool))
- data TypenameArrayDimensions
- type ArrayBounds = NonEmpty (Maybe Iconst)
- data SimpleTypename
- data GenericType = GenericType TypeFunctionName (Maybe Attrs) (Maybe TypeModifiers)
- type Attrs = NonEmpty AttrName
- type AttrName = ColLabel
- type TypeModifiers = ExprList
- type TypeList = NonEmpty Typename
- data QualOp
- data QualAllOp
- type Op = Text
- data AnyOperator
- data AllOp
- data MathOp
- data SymbolicExprBinOp
- data VerbalExprBinOp
- data AExprReversableOp
- = NullAExprReversableOp
- | TrueAExprReversableOp
- | FalseAExprReversableOp
- | UnknownAExprReversableOp
- | DistinctFromAExprReversableOp AExpr
- | OfAExprReversableOp TypeList
- | BetweenAExprReversableOp Bool BExpr AExpr
- | BetweenSymmetricAExprReversableOp BExpr AExpr
- | InAExprReversableOp InExpr
- | DocumentAExprReversableOp
- data BExprIsOp
- data SubqueryOp
- type IndexParams = NonEmpty IndexElem
- data IndexElem = IndexElem IndexElemDef (Maybe Collate) (Maybe Class) (Maybe AscDesc) (Maybe NullsOrder)
- data IndexElemDef
- type Collate = AnyName
- type Class = AnyName
- data AscDesc
- data NullsOrder
Statement
data PreparableStmt Source #
SelectPreparableStmt SelectStmt | |
InsertPreparableStmt InsertStmt | |
UpdatePreparableStmt UpdateStmt | |
DeletePreparableStmt DeleteStmt |
Instances
Insert
data InsertStmt Source #
Instances
data InsertTarget Source #
Instances
data InsertRest Source #
Instances
data OverrideKind Source #
Instances
data InsertColumnItem Source #
Instances
data OnConflict Source #
Instances
data OnConflictDo Source #
Instances
Instances
Eq ConfExpr Source # | |
Ord ConfExpr Source # | |
Defined in PostgresqlSyntax.Ast | |
Show ConfExpr Source # | |
Generic ConfExpr Source # | |
type Rep ConfExpr Source # | |
Defined in PostgresqlSyntax.Ast type Rep ConfExpr = D1 (MetaData "ConfExpr" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "WhereConfExpr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 IndexParams) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe WhereClause))) :+: C1 (MetaCons "ConstraintConfExpr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Name))) |
type ReturningClause = TargetList Source #
Update
data UpdateStmt Source #
UpdateStmt (Maybe WithClause) RelationExprOptAlias SetClauseList (Maybe FromClause) (Maybe WhereOrCurrentClause) (Maybe ReturningClause) |
Instances
type SetClauseList = NonEmpty SetClause Source #
Instances
Eq SetClause Source # | |
Ord SetClause Source # | |
Defined in PostgresqlSyntax.Ast | |
Show SetClause Source # | |
Generic SetClause Source # | |
type Rep SetClause Source # | |
Defined in PostgresqlSyntax.Ast type Rep SetClause = D1 (MetaData "SetClause" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "TargetSetClause" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SetTarget) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AExpr)) :+: C1 (MetaCons "TargetListSetClause" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SetTargetList) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AExpr))) |
Instances
Eq SetTarget Source # | |
Ord SetTarget Source # | |
Defined in PostgresqlSyntax.Ast | |
Show SetTarget Source # | |
Generic SetTarget Source # | |
type Rep SetTarget Source # | |
Defined in PostgresqlSyntax.Ast type Rep SetTarget = D1 (MetaData "SetTarget" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "SetTarget" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ColId) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Indirection)))) |
type SetTargetList = NonEmpty SetTarget Source #
Delete
data DeleteStmt Source #
DeleteStmt (Maybe WithClause) RelationExprOptAlias (Maybe UsingClause) (Maybe WhereOrCurrentClause) (Maybe ReturningClause) |
Instances
type UsingClause = FromList Source #
Select
data SelectWithParens Source #
Instances
data SelectNoParens Source #
Covers the following cases:
select_no_parens: | simple_select | select_clause sort_clause | select_clause opt_sort_clause for_locking_clause opt_select_limit | select_clause opt_sort_clause select_limit opt_for_locking_clause | with_clause select_clause | with_clause select_clause sort_clause | with_clause select_clause opt_sort_clause for_locking_clause opt_select_limit | with_clause select_clause opt_sort_clause select_limit opt_for_locking_clause
SelectNoParens (Maybe WithClause) SelectClause (Maybe SortClause) (Maybe SelectLimit) (Maybe ForLockingClause) |
Instances
type SelectClause = Either SimpleSelect SelectWithParens Source #
select_clause: | simple_select | select_with_parens
data SimpleSelect Source #
Instances
Covers these parts of spec:
simple_select: | SELECT opt_all_clause opt_target_list into_clause from_clause where_clause group_clause having_clause window_clause | SELECT distinct_clause target_list into_clause from_clause where_clause group_clause having_clause window_clause distinct_clause: | DISTINCT | DISTINCT ON '(' expr_list ')'
NormalTargeting TargetList | |
AllTargeting (Maybe TargetList) | |
DistinctTargeting (Maybe ExprList) TargetList |
Instances
Eq Targeting Source # | |
Ord Targeting Source # | |
Defined in PostgresqlSyntax.Ast | |
Show Targeting Source # | |
Generic Targeting Source # | |
type Rep Targeting Source # | |
Defined in PostgresqlSyntax.Ast type Rep Targeting = D1 (MetaData "Targeting" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "NormalTargeting" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TargetList)) :+: (C1 (MetaCons "AllTargeting" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe TargetList))) :+: C1 (MetaCons "DistinctTargeting" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ExprList)) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TargetList)))) |
type TargetList = NonEmpty TargetEl Source #
AliasedExprTargetEl AExpr Ident | |
ImplicitlyAliasedExprTargetEl AExpr Ident | |
ExprTargetEl AExpr | |
AsteriskTargetEl |
Instances
data SelectBinOp Source #
Instances
data WithClause Source #
Instances
data CommonTableExpr Source #
Instances
type IntoClause = OptTempTableName Source #
data OptTempTableName Source #
Instances
type FromClause = NonEmpty TableRef Source #
type GroupClause = NonEmpty GroupByItem Source #
data GroupByItem Source #
ExprGroupByItem AExpr | |
EmptyGroupingSetGroupByItem | |
RollupGroupByItem ExprList | |
CubeGroupByItem ExprList | |
GroupingSetsGroupByItem (NonEmpty GroupByItem) |
Instances
type HavingClause = AExpr Source #
having_clause: | HAVING a_expr | EMPTY
type WindowClause = NonEmpty WindowDefinition Source #
window_clause: | WINDOW window_definition_list | EMPTY window_definition_list: | window_definition | window_definition_list ',' window_definition
data WindowDefinition Source #
window_definition: | ColId AS window_specification
Instances
data WindowSpecification Source #
window_specification: | '(' opt_existing_window_name opt_partition_clause opt_sort_clause opt_frame_clause ')' opt_existing_window_name: | ColId | EMPTY opt_partition_clause: | PARTITION BY expr_list | EMPTY
WindowSpecification (Maybe ExistingWindowName) (Maybe PartitionClause) (Maybe SortClause) (Maybe FrameClause) |
Instances
type ExistingWindowName = ColId Source #
type PartitionClause = ExprList Source #
data FrameClause Source #
Instances
data FrameClauseMode Source #
Instances
data FrameExtent Source #
Instances
data FrameBound Source #
UnboundedPrecedingFrameBound | |
UnboundedFollowingFrameBound | |
CurrentRowFrameBound | |
PrecedingFrameBound AExpr | |
FollowingFrameBound AExpr |
Instances
data WindowExclusionClause Source #
CurrentRowWindowExclusionClause | |
GroupWindowExclusionClause | |
TiesWindowExclusionClause | |
NoOthersWindowExclusionClause |
Instances
type ValuesClause = NonEmpty ExprList Source #
type SortClause = NonEmpty SortBy Source #
sort_clause: | ORDER BY sortby_list
sortby_list: | sortby | sortby_list ',' sortby
UsingSortBy AExpr QualAllOp (Maybe NullsOrder) | |
AscDescSortBy AExpr (Maybe AscDesc) (Maybe NullsOrder) |
Instances
data SelectLimit Source #
LimitOffsetSelectLimit LimitClause OffsetClause | |
OffsetLimitSelectLimit OffsetClause LimitClause | |
LimitSelectLimit LimitClause | |
OffsetSelectLimit OffsetClause |
Instances
data LimitClause Source #
LimitLimitClause SelectLimitValue (Maybe AExpr) | |
FetchOnlyLimitClause Bool (Maybe SelectFetchFirstValue) Bool |
Instances
data SelectFetchFirstValue Source #
Instances
data SelectLimitValue Source #
Instances
data OffsetClause Source #
Instances
For Locking
data ForLockingClause Source #
Instances
data ForLockingItem Source #
Instances
data ForLockingStrength Source #
UpdateForLockingStrength | |
NoKeyUpdateForLockingStrength | |
ShareForLockingStrength | |
KeyForLockingStrength |
Instances
Table references and joining
Instances
data RelationExpr Source #
Instances
data RelationExprOptAlias Source #
Instances
data TablesampleClause Source #
Instances
type RepeatableClause = AExpr Source #
Instances
Eq FuncTable Source # | |
Ord FuncTable Source # | |
Defined in PostgresqlSyntax.Ast | |
Show FuncTable Source # | |
Generic FuncTable Source # | |
type Rep FuncTable Source # | |
Defined in PostgresqlSyntax.Ast type Rep FuncTable = D1 (MetaData "FuncTable" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "FuncExprFuncTable" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FuncExprWindowless) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 OptOrdinality)) :+: C1 (MetaCons "RowsFromFuncTable" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 RowsfromList) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 OptOrdinality))) |
data RowsfromItem Source #
Instances
type RowsfromList = NonEmpty RowsfromItem Source #
type ColDefList = TableFuncElementList Source #
type OptOrdinality = Bool Source #
data TableFuncElement Source #
Instances
type CollateClause = AnyName Source #
data AliasClause Source #
Instances
data FuncAliasClause Source #
AliasFuncAliasClause AliasClause | |
AsFuncAliasClause TableFuncElementList | |
AsColIdFuncAliasClause ColId TableFuncElementList | |
ColIdFuncAliasClause ColId TableFuncElementList |
Instances
data JoinedTable Source #
Instances
Instances
Eq JoinMeth Source # | |
Ord JoinMeth Source # | |
Defined in PostgresqlSyntax.Ast | |
Show JoinMeth Source # | |
Generic JoinMeth Source # | |
type Rep JoinMeth Source # | |
Defined in PostgresqlSyntax.Ast type Rep JoinMeth = D1 (MetaData "JoinMeth" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "CrossJoinMeth" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "QualJoinMeth" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe JoinType)) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 JoinQual)) :+: C1 (MetaCons "NaturalJoinMeth" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe JoinType))))) |
Instances
Eq JoinType Source # | |
Ord JoinType Source # | |
Defined in PostgresqlSyntax.Ast | |
Show JoinType Source # | |
Generic JoinType Source # | |
type Rep JoinType Source # | |
Defined in PostgresqlSyntax.Ast type Rep JoinType = D1 (MetaData "JoinType" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) ((C1 (MetaCons "FullJoinType" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) :+: C1 (MetaCons "LeftJoinType" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool))) :+: (C1 (MetaCons "RightJoinType" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) :+: C1 (MetaCons "InnerJoinType" PrefixI False) (U1 :: Type -> Type))) |
Instances
Eq JoinQual Source # | |
Ord JoinQual Source # | |
Defined in PostgresqlSyntax.Ast | |
Show JoinQual Source # | |
Generic JoinQual Source # | |
type Rep JoinQual Source # | |
Defined in PostgresqlSyntax.Ast type Rep JoinQual = D1 (MetaData "JoinQual" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "UsingJoinQual" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (NonEmpty Ident))) :+: C1 (MetaCons "OnJoinQual" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AExpr))) |
Where
type WhereClause = AExpr Source #
data WhereOrCurrentClause Source #
Instances
Expression
Instances
CExprBExpr CExpr | |
TypecastBExpr BExpr Typename | |
PlusBExpr BExpr | |
MinusBExpr BExpr | |
SymbolicBinOpBExpr BExpr SymbolicExprBinOp BExpr | |
QualOpBExpr QualOp BExpr | |
IsOpBExpr BExpr Bool BExprIsOp |
Instances
Instances
Instances
Eq InExpr Source # | |
Ord InExpr Source # | |
Show InExpr Source # | |
Generic InExpr Source # | |
type Rep InExpr Source # | |
Defined in PostgresqlSyntax.Ast type Rep InExpr = D1 (MetaData "InExpr" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "SelectInExpr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SelectWithParens)) :+: C1 (MetaCons "ExprListInExpr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ExprList))) |
Instances
Bounded SubType Source # | |
Enum SubType Source # | |
Eq SubType Source # | |
Ord SubType Source # | |
Show SubType Source # | |
Generic SubType Source # | |
type Rep SubType Source # | |
Defined in PostgresqlSyntax.Ast type Rep SubType = D1 (MetaData "SubType" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "AnySubType" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SomeSubType" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AllSubType" PrefixI False) (U1 :: Type -> Type))) |
Instances
Eq ArrayExpr Source # | |
Ord ArrayExpr Source # | |
Defined in PostgresqlSyntax.Ast | |
Show ArrayExpr Source # | |
Generic ArrayExpr Source # | |
type Rep ArrayExpr Source # | |
Defined in PostgresqlSyntax.Ast type Rep ArrayExpr = D1 (MetaData "ArrayExpr" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "ExprListArrayExpr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ExprList)) :+: (C1 (MetaCons "ArrayExprListArrayExpr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ArrayExprList)) :+: C1 (MetaCons "EmptyArrayExpr" PrefixI False) (U1 :: Type -> Type))) |
type ArrayExprList = NonEmpty ArrayExpr Source #
Instances
Eq Row Source # | |
Ord Row Source # | |
Show Row Source # | |
Generic Row Source # | |
type Rep Row Source # | |
Defined in PostgresqlSyntax.Ast type Rep Row = D1 (MetaData "Row" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "ExplicitRowRow" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ExplicitRow)) :+: C1 (MetaCons "ImplicitRowRow" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ImplicitRow))) |
type ExplicitRow = Maybe ExprList Source #
data ImplicitRow Source #
Instances
ApplicationFuncExpr FuncApplication (Maybe WithinGroupClause) (Maybe FilterClause) (Maybe OverClause) | |
SubexprFuncExpr FuncExprCommonSubexpr |
Instances
data FuncExprWindowless Source #
Instances
type WithinGroupClause = SortClause Source #
type FilterClause = AExpr Source #
data OverClause Source #
Instances
data FuncExprCommonSubexpr Source #
Instances
data ExtractList Source #
Instances
data ExtractArg Source #
IdentExtractArg Ident | |
YearExtractArg | |
MonthExtractArg | |
DayExtractArg | |
HourExtractArg | |
MinuteExtractArg | |
SecondExtractArg | |
SconstExtractArg Sconst |
Instances
data OverlayList Source #
Instances
type OverlayPlacing = AExpr Source #
data PositionList Source #
Instances
data SubstrList Source #
Instances
data SubstrListFromFor Source #
FromForSubstrListFromFor SubstrFrom SubstrFor | |
ForFromSubstrListFromFor SubstrFor SubstrFrom | |
FromSubstrListFromFor SubstrFrom | |
ForSubstrListFromFor SubstrFor |
Instances
type SubstrFrom = AExpr Source #
data TrimModifier Source #
Instances
Instances
Eq TrimList Source # | |
Ord TrimList Source # | |
Defined in PostgresqlSyntax.Ast | |
Show TrimList Source # | |
Generic TrimList Source # | |
type Rep TrimList Source # | |
Defined in PostgresqlSyntax.Ast type Rep TrimList = D1 (MetaData "TrimList" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "ExprFromExprListTrimList" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AExpr) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ExprList)) :+: (C1 (MetaCons "FromExprListTrimList" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ExprList)) :+: C1 (MetaCons "ExprListTrimList" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ExprList)))) |
Instances
Eq CaseExpr Source # | |
Ord CaseExpr Source # | |
Defined in PostgresqlSyntax.Ast | |
Show CaseExpr Source # | |
Generic CaseExpr Source # | |
type Rep CaseExpr Source # | |
Defined in PostgresqlSyntax.Ast type Rep CaseExpr = D1 (MetaData "CaseExpr" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "CaseExpr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CaseArg)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 WhenClauseList) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CaseDefault))))) |
type WhenClauseList = NonEmpty WhenClause Source #
type CaseDefault = AExpr Source #
data WhenClause Source #
Instances
data FuncApplication Source #
Instances
data FuncApplicationParams Source #
Instances
data FuncArgExpr Source #
Instances
Constants
data AexprConst Source #
AexprConst: | Iconst | FCONST | Sconst | BCONST | XCONST | func_name Sconst | func_name '(' func_arg_list opt_sort_clause ')' Sconst | ConstTypename Sconst | ConstInterval Sconst opt_interval | ConstInterval '(' Iconst ')' Sconst | TRUE_P | FALSE_P | NULL_P
Instances
data FuncConstArgs Source #
Instances
data ConstTypename Source #
NumericConstTypename Numeric | |
ConstBitConstTypename ConstBit | |
ConstCharacterConstTypename ConstCharacter | |
ConstDatetimeConstTypename ConstDatetime |
Instances
Instances
Instances
Eq Bit Source # | |
Ord Bit Source # | |
Show Bit Source # | |
Generic Bit Source # | |
type Rep Bit Source # | |
Defined in PostgresqlSyntax.Ast type Rep Bit = D1 (MetaData "Bit" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "Bit" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 OptVarying) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ExprList)))) |
type OptVarying = Bool Source #
data ConstCharacter Source #
Instances
CharacterCharacter OptVarying | |
CharCharacter OptVarying | |
VarcharCharacter | |
NationalCharacterCharacter OptVarying | |
NationalCharCharacter OptVarying | |
NcharCharacter OptVarying |
Instances
data ConstDatetime Source #
TimestampConstDatetime (Maybe Int64) (Maybe Timezone) | |
TimeConstDatetime (Maybe Int64) (Maybe Timezone) |
Instances
Instances
type IntervalSecond = Maybe Int64 Source #
Names & References
Instances
Eq Ident Source # | |
Ord Ident Source # | |
Show Ident Source # | |
Generic Ident Source # | |
type Rep Ident Source # | |
Defined in PostgresqlSyntax.Ast type Rep Ident = D1 (MetaData "Ident" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "QuotedIdent" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :+: C1 (MetaCons "UnquotedIdent" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |
type CursorName = Name Source #
Instances
Eq Columnref Source # | |
Ord Columnref Source # | |
Defined in PostgresqlSyntax.Ast | |
Show Columnref Source # | |
Generic Columnref Source # | |
type Rep Columnref Source # | |
Defined in PostgresqlSyntax.Ast type Rep Columnref = D1 (MetaData "Columnref" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "Columnref" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ColId) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Indirection)))) |
Instances
Eq AnyName Source # | |
Ord AnyName Source # | |
Show AnyName Source # | |
Generic AnyName Source # | |
type Rep AnyName Source # | |
Defined in PostgresqlSyntax.Ast type Rep AnyName = D1 (MetaData "AnyName" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "AnyName" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ColId) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Attrs)))) |
Instances
Eq FuncName Source # | |
Ord FuncName Source # | |
Defined in PostgresqlSyntax.Ast | |
Show FuncName Source # | |
Generic FuncName Source # | |
type Rep FuncName Source # | |
Defined in PostgresqlSyntax.Ast type Rep FuncName = D1 (MetaData "FuncName" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "TypeFuncName" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TypeFunctionName)) :+: C1 (MetaCons "IndirectedFuncName" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ColId) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Indirection))) |
type TypeFunctionName = Ident Source #
data QualifiedName Source #
Instances
type Indirection = NonEmpty IndirectionEl Source #
data IndirectionEl Source #
AttrNameIndirectionEl Ident | |
AllIndirectionEl | |
ExprIndirectionEl AExpr | |
SliceIndirectionEl (Maybe AExpr) (Maybe AExpr) |
Instances
Types
Typename definition extended with custom question-marks for nullability specification.
To match the standard Postgres syntax simply interpret their presence as a parsing error.
Typename | |
|
Instances
Eq Typename Source # | |
Ord Typename Source # | |
Defined in PostgresqlSyntax.Ast | |
Show Typename Source # | |
Generic Typename Source # | |
type Rep Typename Source # | |
Defined in PostgresqlSyntax.Ast type Rep Typename = D1 (MetaData "Typename" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "Typename" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SimpleTypename)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (TypenameArrayDimensions, Bool)))))) |
data TypenameArrayDimensions Source #
Instances
data SimpleTypename Source #
Instances
data GenericType Source #
Instances
type TypeModifiers = ExprList Source #
Operators
Instances
Eq QualOp Source # | |
Ord QualOp Source # | |
Show QualOp Source # | |
Generic QualOp Source # | |
type Rep QualOp Source # | |
Defined in PostgresqlSyntax.Ast type Rep QualOp = D1 (MetaData "QualOp" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "OpQualOp" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Op)) :+: C1 (MetaCons "OperatorQualOp" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AnyOperator))) |
Instances
Eq QualAllOp Source # | |
Ord QualAllOp Source # | |
Defined in PostgresqlSyntax.Ast | |
Show QualAllOp Source # | |
Generic QualAllOp Source # | |
type Rep QualAllOp Source # | |
Defined in PostgresqlSyntax.Ast type Rep QualAllOp = D1 (MetaData "QualAllOp" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "AllQualAllOp" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AllOp)) :+: C1 (MetaCons "AnyQualAllOp" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 AnyOperator))) |
data AnyOperator Source #
Instances
Instances
Eq AllOp Source # | |
Ord AllOp Source # | |
Show AllOp Source # | |
Generic AllOp Source # | |
type Rep AllOp Source # | |
Defined in PostgresqlSyntax.Ast type Rep AllOp = D1 (MetaData "AllOp" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "OpAllOp" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Op)) :+: C1 (MetaCons "MathAllOp" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 MathOp))) |
Instances
Bounded MathOp Source # | |
Enum MathOp Source # | |
Defined in PostgresqlSyntax.Ast | |
Eq MathOp Source # | |
Ord MathOp Source # | |
Show MathOp Source # | |
Generic MathOp Source # | |
type Rep MathOp Source # | |
Defined in PostgresqlSyntax.Ast type Rep MathOp = D1 (MetaData "MathOp" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (((C1 (MetaCons "PlusMathOp" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "MinusMathOp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AsteriskMathOp" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "SlashMathOp" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PercentMathOp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ArrowUpMathOp" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "ArrowLeftMathOp" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ArrowRightMathOp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EqualsMathOp" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "LessEqualsMathOp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "GreaterEqualsMathOp" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ArrowLeftArrowRightMathOp" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ExclamationEqualsMathOp" PrefixI False) (U1 :: Type -> Type))))) |
data SymbolicExprBinOp Source #
Instances
data VerbalExprBinOp Source #
Instances
data AExprReversableOp Source #
Instances
Instances
Eq BExprIsOp Source # | |
Ord BExprIsOp Source # | |
Defined in PostgresqlSyntax.Ast | |
Show BExprIsOp Source # | |
Generic BExprIsOp Source # | |
type Rep BExprIsOp Source # | |
Defined in PostgresqlSyntax.Ast type Rep BExprIsOp = D1 (MetaData "BExprIsOp" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "DistinctFromBExprIsOp" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BExpr)) :+: (C1 (MetaCons "OfBExprIsOp" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TypeList)) :+: C1 (MetaCons "DocumentBExprIsOp" PrefixI False) (U1 :: Type -> Type))) |
data SubqueryOp Source #
Instances
Indexes
type IndexParams = NonEmpty IndexElem Source #
Instances
Eq IndexElem Source # | |
Ord IndexElem Source # | |
Defined in PostgresqlSyntax.Ast | |
Show IndexElem Source # | |
Generic IndexElem Source # | |
type Rep IndexElem Source # | |
Defined in PostgresqlSyntax.Ast type Rep IndexElem = D1 (MetaData "IndexElem" "PostgresqlSyntax.Ast" "postgresql-syntax-0.3.0.3-6W4EHkEby9aEZp0MA2bT4A" False) (C1 (MetaCons "IndexElem" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 IndexElemDef) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Collate))) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Class)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe AscDesc)) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe NullsOrder)))))) |
data IndexElemDef Source #
Instances
Instances
Bounded AscDesc Source # | |
Enum AscDesc Source # | |
Eq AscDesc Source # | |
Ord AscDesc Source # | |
Show AscDesc Source # | |
Generic AscDesc Source # | |
type Rep AscDesc Source # | |
data NullsOrder Source #