Data Postgres # | |
Instance detailsDefined in Napkin.Types.Postgres |
HasPostgresConn Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
Backend Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres Methods backendConnectionString :: BackendConn Postgres -> ConnectionString # backendExecute :: (MonadNapkin Postgres m, RenderSql command Postgres) => BackendConn Postgres -> command -> m () # backendQuery :: (MonadNapkin Postgres m, RenderSql q Postgres) => BackendConn Postgres -> q -> m [Map Text Value] # backendCheckTableExists :: MonadNapkin Postgres m => BackendConn Postgres -> Ref Table -> m Bool # backendGetTableKind :: MonadNapkin Postgres m => BackendConn Postgres -> Ref Table -> m TableKind # backendGetRelationSchema :: MonadNapkin Postgres m => BackendConn Postgres -> Ref Table -> Relation -> m [BackendSchemaField Postgres] # backendGetAnnotations :: MonadNapkin Postgres m => BackendConn Postgres -> Ref Table -> m TableAnnotations # backendAnnotate :: MonadNapkin Postgres m => BackendConn Postgres -> Ref Table -> Annotation -> m () # backendCreateAs :: (command ~ CreateRelation Postgres, RenderSql command Postgres, MonadNapkin Postgres m) => BackendConn Postgres -> command -> m () # backendCreate :: (command ~ CreateTableSchema Postgres, RenderSql command Postgres, MonadNapkin Postgres m) => BackendConn Postgres -> command -> m () # backendCopyTable :: (MonadNapkin Postgres m, RenderSql DeleteRows Postgres, RenderSql InsertInto Postgres, RenderSql (CreateRelation Postgres) Postgres, Default (BackendMeta 'KindTable Postgres)) => BackendConn Postgres -> Ref Table -> Ref Table -> TableWriteStrategy -> m () # backendDrop :: MonadNapkin Postgres m => BackendConn Postgres -> DropRelation -> m () # backendInsertInto :: (command ~ InsertInto, RenderSql command Postgres, MonadNapkin Postgres m) => BackendConn Postgres -> command -> m () # backendRename :: MonadNapkin Postgres m => BackendConn Postgres -> RenameRelation -> m () # backendListTables :: MonadNapkin Postgres m => BackendConn Postgres -> ListTables -> m (Set ListedTable) # backendNormalize :: MonadNapkin Postgres m => BackendConn Postgres -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # |
RunBackendEffect Postgres # | |
Instance detailsDefined in Napkin.Run.Effects.Interpreters.Backend.Postgres Methods runBackendEffectReal :: forall (m :: Type -> Type) (r :: EffectRow) a. (Members '[FatalError :: (Type -> Type) -> Type -> Type, Embed m] r, MonadNapkin Postgres m, SqlIO m, LocalQueryStats Postgres m) => BackendConn Postgres -> Sem (BackendSpecificEffect Postgres ': r) a -> Sem r a # runBackendEffectFake :: forall (r :: EffectRow) a. Members '[Reader HiddenDependencies, State IState :: (Type -> Type) -> Type -> Type, FatalError :: (Type -> Type) -> Type -> Type] r => Sem (BackendSpecificEffect Postgres ': r) a -> Sem r a # interceptBackendEffectDiscoverDependencies :: forall (r :: EffectRow) a. Members '[Input (Transformed HiddenDependencies) :: (Type -> Type) -> Type -> Type, Output Dependencies :: (Type -> Type) -> Type -> Type, BackendSpecificEffect Postgres] r => Sem r a -> Sem r a # interceptBackendEffectApplyQueryTransformer :: forall (r :: EffectRow) a. Members '[Output ExtraDependencies :: (Type -> Type) -> Type -> Type, Reader QueryTransformer, BackendSpecificEffect Postgres] r => Sem r a -> Sem r a # backendDependencyValidator :: Proxy Postgres -> [(SpecDependency -> Ref Table) -> SpecsDepsTables -> [WithSpecTable Text]] # |
RunBackendConn Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
BackendName Postgres # | |
Instance detailsDefined in Napkin.Types.Postgres |
NapkinParserDialect Postgres # | |
Instance detailsDefined in Napkin.Types.Postgres |
BackendOperators Postgres # | |
Instance detailsDefined in Napkin.Revert.Postgres |
CSVImport Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
HasBackendSchemaField Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
HasBackendQueryStats Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
SqlConcat Postgres # | |
Instance detailsDefined in Napkin.Untyped.Ops.Portable.Postgres |
RenderSql CreateIndex Postgres # | |
Instance detailsDefined in Napkin.Render.Postgres |
RenderSql SetTableSchema Postgres # | |
Instance detailsDefined in Napkin.Render.Postgres |
RenderSql AnnotateTableOrView Postgres # | |
Instance detailsDefined in Napkin.Render.Postgres |
RenderSql DropRelation Postgres # | |
Instance detailsDefined in Napkin.Render.Postgres |
RenderSql RenameRelation Postgres # | |
Instance detailsDefined in Napkin.Render.Postgres |
SimpleTypeName Postgres 'TyBigInt # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyBlob # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyBool # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyChar # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyDate # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyDatetime # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyDecimal # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyDouble # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyInteger # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyReal # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TySmallInt # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyTimestamp # | |
Instance detailsDefined in Napkin.Revert.Postgres |
SimpleTypeName Postgres 'TyVarChar # | |
Instance detailsDefined in Napkin.Revert.Postgres |
ToDumpItem Postgres PostgresExtra # | |
Instance detailsDefined in Napkin.Run.Effects.Interpreters.Backend.Postgres |
RenderSql (CreateRelation Postgres) Postgres # | |
Instance detailsDefined in Napkin.Render.Postgres |
FromJSON (YamlBackendMaterializedViewMeta Postgres) # | |
Instance detailsDefined in Napkin.Spec.Yaml.Types.BackendMeta.Postgres |
FromJSON (YamlBackendTableMeta Postgres) # | |
Instance detailsDefined in Napkin.Spec.Yaml.Types.BackendMeta.Postgres |
FromJSON (YamlBackendViewMeta Postgres) # | |
Instance detailsDefined in Napkin.Spec.Yaml.Types.BackendMeta.Postgres |
FromJSON (DbBackendOptions Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Default (DbBackendOptions Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Generic (BackendConn Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Generic (DbBackendOptions Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Show (DbBackendOptions Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Eq (DbBackendOptions Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
MaybeDefault (YamlBackendMaterializedViewMeta Postgres) # | |
Instance detailsDefined in Napkin.Spec.Yaml.Types.BackendMeta.Postgres |
MaybeDefault (YamlBackendTableMeta Postgres) # | |
Instance detailsDefined in Napkin.Spec.Yaml.Types.BackendMeta.Postgres |
MaybeDefault (YamlBackendViewMeta Postgres) # | |
Instance detailsDefined in Napkin.Spec.Yaml.Types.BackendMeta.Postgres |
FromJSON (BackendQueryStats Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
ToJSON (BackendQueryStats Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Monoid (BackendQueryStats Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Semigroup (BackendQueryStats Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Generic (BackendQueryStats Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Show (BackendSchemaField Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Show (BackendQueryStats Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Eq (BackendSchemaField Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
Eq (BackendQueryStats Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
FromRow (BackendSchemaField Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
data BackendConn Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
data BackendSpecificEffect Postgres m a # | |
Instance detailsDefined in Napkin.Run.Effects.Languages.Backend.Postgres |
type BackendMaterializedViewMeta Postgres # | |
Instance detailsDefined in Napkin.Types.Postgres |
type BackendTableMeta Postgres # | |
Instance detailsDefined in Napkin.Types.Postgres |
type BackendViewMeta Postgres # | |
Instance detailsDefined in Napkin.Types.Postgres |
newtype DbBackendOptions Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
data BackendSchemaField Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
data BackendQueryStats Postgres # | |
Instance detailsDefined in Napkin.Run.Postgres |
type Rep (BackendConn Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
type Rep (DbBackendOptions Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |
type Rep (BackendQueryStats Postgres) # | |
Instance detailsDefined in Napkin.Run.Postgres |