napkin-0.5.8
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Napkin.Types.Postgres

Description

 

Documentation

data Postgres #

Constructors

Postgres 

Instances

Instances details
Eq Postgres # 
Instance details

Defined in Napkin.Types.Postgres

Data Postgres # 
Instance details

Defined in Napkin.Types.Postgres

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Postgres -> c Postgres #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Postgres #

toConstr :: Postgres -> Constr #

dataTypeOf :: Postgres -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Postgres) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Postgres) #

gmapT :: (forall b. Data b => b -> b) -> Postgres -> Postgres #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Postgres -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Postgres -> r #

gmapQ :: (forall d. Data d => d -> u) -> Postgres -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Postgres -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Postgres -> m Postgres #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Postgres -> m Postgres #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Postgres -> m Postgres #

Ord Postgres # 
Instance details

Defined in Napkin.Types.Postgres

Read Postgres # 
Instance details

Defined in Napkin.Types.Postgres

Show Postgres # 
Instance details

Defined in Napkin.Types.Postgres

ReifiesBackend Postgres # 
Instance details

Defined in Napkin.Types.Postgres

Backend Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Associated Types

data BackendConn Postgres #

ParseSQL Postgres # 
Instance details

Defined in Napkin.Parse.Postgres

HasPostgresConn Postgres # 
Instance details

Defined in Napkin.Run.Postgres

RunBackendEffect Postgres # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.Postgres

Methods

runBackendEffectReal :: forall (r :: [(Type -> Type) -> Type -> Type]) a. (Members Core r, Member (Embed IO) r) => BackendConn Postgres -> Sem (BackendSpecificEffect Postgres ': r) a -> Sem r a #

runBackendEffectFake :: forall (r :: [(Type -> Type) -> Type -> Type]) a. (Members Core r, Member (Embed IO) r) => Sem (BackendSpecificEffect Postgres ': r) a -> Sem r a #

RunBackendConn Postgres # 
Instance details

Defined in Napkin.Run.Postgres

CommandDescr Grant Postgres # 
Instance details

Defined in Napkin.Render.Postgres

CommandDescr DeleteFrom Postgres # 
Instance details

Defined in Napkin.Render.Postgres

CommandDescr InsertIntoQuery Postgres # 
Instance details

Defined in Napkin.Render.Postgres

CommandDescr DropTable Postgres # 
Instance details

Defined in Napkin.Render.Postgres

CommandDescr DropView Postgres # 
Instance details

Defined in Napkin.Render.Postgres

CommandDescr CreateViewAs Postgres # 
Instance details

Defined in Napkin.Render.Postgres

CommandDescr RenameTable Postgres # 
Instance details

Defined in Napkin.Render.Postgres

RenderSql String Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> String -> Doc #

RenderSql Query Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> Query -> Doc #

RenderSql From Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> From -> Doc #

RenderSql Relation Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> Relation -> Doc #

RenderSql SExp Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> SExp -> Doc #

RenderSql Grant Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> Grant -> Doc #

RenderSql Actor Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> Actor -> Doc #

RenderSql Object Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> Object -> Doc #

RenderSql Privilege Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> Privilege -> Doc #

RenderSql DeleteFrom Postgres # 
Instance details

Defined in Napkin.Render.Postgres

RenderSql InsertIntoQuery Postgres # 
Instance details

Defined in Napkin.Render.Postgres

RenderSql DropTable Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> DropTable -> Doc #

RenderSql DropView Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> DropView -> Doc #

RenderSql CreateViewAs Postgres # 
Instance details

Defined in Napkin.Render.Postgres

RenderSql RenameTable Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Command Grant Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command CheckTableExists Bool Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DeleteFrom Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command InsertIntoQuery Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DropTable Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DropView Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command CreateViewAs Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command CopyTable Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command RenameTable Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command GetRelationSchema (Fields Field) Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Eq (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Show (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Generic (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Associated Types

type Rep (DbBackendOptions Postgres) :: Type -> Type #

ToJSON (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

FromJSON (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

Default (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

HasCreateTableAs Postgres # 
Instance details

Defined in Napkin.Types.Postgres

Associated Types

type BackendTableMeta Postgres #

ReplaceReference Postgres #

Reference replacement

Instance details

Defined in Napkin.Render.Postgres

CommandDescr (CreateTableAs ()) Postgres #

Command descriptions

Instance details

Defined in Napkin.Render.Postgres

RenderSql a Postgres => RenderSql (Alias a) Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> Alias a -> Doc #

RenderSql (CreateTableAs ()) Postgres #

Commands

Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> CreateTableAs () -> Doc #

ToDbBackend Postgres # 
Instance details

Defined in Napkin.Backends.Types

Command (CreateTableAs ()) Int64 Postgres # 
Instance details

Defined in Napkin.Run.Postgres

ToJSON (YamlBackendTableMeta Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

FromJSON (YamlBackendTableMeta Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

RenderSql (Ref t) Postgres # 
Instance details

Defined in Napkin.Render.Postgres

Methods

renderSql :: Postgres -> Ref t -> Doc #

data BackendSpecificEffect Postgres m a # 
Instance details

Defined in Napkin.Run.Effects.Languages.Backend.Postgres

data BackendSpecificEffect Postgres m a where
data BackendConn Postgres # 
Instance details

Defined in Napkin.Run.Postgres

data DbBackendOptions Postgres # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Spec.Yaml.Types

type Rep (DbBackendOptions Postgres) = D1 ('MetaData "DbBackendOptions" "Napkin.Spec.Yaml.Types" "napkin-0.5.8-LfoCp5zeHzsHrJOgqsY5FM" 'False) (C1 ('MetaCons "YamlPostgresOptions" 'PrefixI 'False) (U1 :: Type -> Type))
type BackendTableMeta Postgres # 
Instance details

Defined in Napkin.Types.Postgres