napkin-backend-postgres-redshift-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Types.Postgres.Indexes

Documentation

type Indexes = [Index] #

data Index #

Instances

Instances details
FromJSON Index # 
Instance details

Defined in Napkin.Types.Postgres.Indexes

Generic Index # 
Instance details

Defined in Napkin.Types.Postgres.Indexes

Associated Types

type Rep Index 
Instance details

Defined in Napkin.Types.Postgres.Indexes

type Rep Index = D1 ('MetaData "Index" "Napkin.Types.Postgres.Indexes" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'False) (C1 ('MetaCons "Index" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_columns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty IndexElem))) :*: (S1 ('MetaSel ('Just "_unique") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_where_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AExpr)) :*: S1 ('MetaSel ('Just "_concurrent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))

Methods

from :: Index -> Rep Index x #

to :: Rep Index x -> Index #

Show Index # 
Instance details

Defined in Napkin.Types.Postgres.Indexes

Methods

showsPrec :: Int -> Index -> ShowS #

show :: Index -> String #

showList :: [Index] -> ShowS #

Eq Index # 
Instance details

Defined in Napkin.Types.Postgres.Indexes

Methods

(==) :: Index -> Index -> Bool #

(/=) :: Index -> Index -> Bool #

type Rep Index # 
Instance details

Defined in Napkin.Types.Postgres.Indexes

type Rep Index = D1 ('MetaData "Index" "Napkin.Types.Postgres.Indexes" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'False) (C1 ('MetaCons "Index" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_columns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty IndexElem))) :*: (S1 ('MetaSel ('Just "_unique") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_where_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AExpr)) :*: S1 ('MetaSel ('Just "_concurrent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))

runPG :: Parser a -> Text -> Parser a #