Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- withPostgresString :: Natural -> Text -> (BackendConn Postgres -> IO b) -> IO b
- data family BackendSchemaField (bk :: k)
- data family BackendConn b
Postgres Re-exports
withPostgresString :: Natural -> Text -> (BackendConn Postgres -> IO b) -> IO b #
data family BackendSchemaField (bk :: k) #
Instances
data family BackendConn b #
Instances
Orphan instances
Backend Postgres # | |||||
backendQuery :: (MonadNapkin Postgres m, RenderSql q Postgres) => BackendConn Postgres -> q -> m [Map Text Value] # backendConnectionString :: BackendConn Postgres -> ConnectionString # | |||||
HasPostgresConn Postgres # | |||||
RunBackendConn Postgres # | |||||
runBackendConn :: LogEnv -> DbBackendOptions Postgres -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn Postgres -> IO a) -> IO a # | |||||
HasBackendSchemaField Postgres # | |||||
fieldName :: BackendSchemaField Postgres -> Text # fieldType :: BackendSchemaField Postgres -> Type # | |||||
CSVImport Postgres # | |||||
HasBackendQueryStats Postgres # | |||||
| |||||
Command AEDA TableDiagnostics Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> AEDA -> m TableDiagnostics # | |||||
Command AnnotateCommand () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> AnnotateCommand -> m () # | |||||
Command CheckTableExists Bool Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CheckTableExists -> m Bool # | |||||
Command CopyTable () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CopyTable -> m () # | |||||
Command DeleteFrom () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> DeleteFrom -> m () # | |||||
Command DropTable () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> DropTable -> m () # | |||||
Command DropView () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> DropView -> m () # | |||||
Command GetTableKind TableKind Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> GetTableKind -> m TableKind # | |||||
Command InsertIntoQuery () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> InsertIntoQuery -> m () # | |||||
Command InsertIntoTable () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> InsertIntoTable -> m () # | |||||
Command ReadAnnotationCommand TableAnnotations Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> ReadAnnotationCommand -> m TableAnnotations # | |||||
Command RenameTable () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> RenameTable -> m () # | |||||
Command Grant () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> Grant -> m () # | |||||
Command UpdateQuery () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> UpdateQuery -> m () # | |||||
Command GetRelationSchema [BackendSchemaField Postgres] Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> GetRelationSchema -> m [BackendSchemaField Postgres] # | |||||
Command ListTables (Set ListedTable) Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> ListTables -> m (Set ListedTable) # | |||||
Command NormalizeTableNames (Map (Ref Table) NormalizedTable) Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # | |||||
FromJSON (DbBackendOptions Postgres) # | |||||
parseJSON :: Value -> Parser (DbBackendOptions Postgres) # parseJSONList :: Value -> Parser [DbBackendOptions Postgres] # | |||||
Generic (BackendConn Postgres) # | |||||
from :: BackendConn Postgres -> Rep (BackendConn Postgres) x # to :: Rep (BackendConn Postgres) x -> BackendConn Postgres # | |||||
Generic (DbBackendOptions Postgres) # | |||||
from :: DbBackendOptions Postgres -> Rep (DbBackendOptions Postgres) x # to :: Rep (DbBackendOptions Postgres) x -> DbBackendOptions Postgres # | |||||
Show (DbBackendOptions Postgres) # | |||||
Default (DbBackendOptions Postgres) # | |||||
Eq (DbBackendOptions Postgres) # | |||||
(==) :: DbBackendOptions Postgres -> DbBackendOptions Postgres -> Bool # (/=) :: DbBackendOptions Postgres -> DbBackendOptions Postgres -> Bool # | |||||
Command (CreateMaterializedView MaterializedViewMeta) () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CreateMaterializedView MaterializedViewMeta -> m () # | |||||
Command (CreateTable TableMeta) () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CreateTable TableMeta -> m () # | |||||
Command (CreateTableDDL TableMeta) () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CreateTableDDL TableMeta -> m () # | |||||
Command (CreateView ()) () Postgres # | |||||
execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CreateView () -> m () # | |||||
FromJSON (BackendQueryStats Postgres) # | |||||
parseJSON :: Value -> Parser (BackendQueryStats Postgres) # parseJSONList :: Value -> Parser [BackendQueryStats Postgres] # | |||||
ToJSON (BackendQueryStats Postgres) # | |||||
toJSON :: BackendQueryStats Postgres -> Value # toEncoding :: BackendQueryStats Postgres -> Encoding # toJSONList :: [BackendQueryStats Postgres] -> Value # toEncodingList :: [BackendQueryStats Postgres] -> Encoding # omitField :: BackendQueryStats Postgres -> Bool # | |||||
Monoid (BackendQueryStats Postgres) # | |||||
Semigroup (BackendQueryStats Postgres) # | |||||
Generic (BackendQueryStats Postgres) # | |||||
from :: BackendQueryStats Postgres -> Rep (BackendQueryStats Postgres) x # to :: Rep (BackendQueryStats Postgres) x -> BackendQueryStats Postgres # | |||||
Show (BackendSchemaField Postgres) # | |||||
Show (BackendQueryStats Postgres) # | |||||
Eq (BackendSchemaField Postgres) # | |||||
Eq (BackendQueryStats Postgres) # | |||||
(==) :: BackendQueryStats Postgres -> BackendQueryStats Postgres -> Bool # (/=) :: BackendQueryStats Postgres -> BackendQueryStats Postgres -> Bool # |