napkin-0.5.14
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Run.MsSql

Synopsis

Documentation

withMsSqlString :: MonadIO m => LogEnv -> Natural -> Text -> (BackendConn MsSql -> m b) -> m b #

retryDeadLockVictim :: forall m q a. (Katip m, RenderSql q MsSql) => (q -> IO a) -> q -> m a #

query :: forall m q a. (FromRow a, Katip m, RenderSql q MsSql, MonadUnliftIO m) => BackendConn MsSql -> q -> m [a] #

toOdbcQuery :: forall q. RenderSql q MsSql => q -> Query #

execute :: forall m q. (Katip m, MonadUnliftIO m, RenderSql q MsSql) => BackendConn MsSql -> q -> m () #

execute' :: forall m q. (Katip m, RenderSql q MsSql, MonadUnliftIO m) => BackendConn MsSql -> q -> m Int #

relationSchema :: forall f viewMeta. (viewMeta ~ BackendViewMeta MsSql, MonadNapkin MsSql f) => BackendConn MsSql -> Relation -> f [MsSchemaField] #

Introspect schema of a Relation

Orphan instances

Backend MsSql # 
Instance details

Associated Types

data BackendConn MsSql #

RunBackendConn MsSql # 
Instance details

FromRow AnnotationRow # 
Instance details

FromRow TableKind # 
Instance details

HasBackendSchemaField MsSql # 
Instance details

Associated Types

data BackendSchemaField MsSql #

CSVImport MsSql # 
Instance details

HasBackendQueryStats MsSql # 
Instance details

Associated Types

data BackendQueryStats MsSql #

Command AEDA TableDiagnostics MsSql # 
Instance details

Command AnnotateCommand () MsSql # 
Instance details

Command CheckTableExists Bool MsSql # 
Instance details

Command CopyTable () MsSql # 
Instance details

Command DeleteFrom () MsSql # 
Instance details

Command DropTable () MsSql # 
Instance details

Command DropView () MsSql # 
Instance details

Command GetTableKind TableKind MsSql # 
Instance details

Command InsertIntoQuery () MsSql # 
Instance details

Command ReadAnnotationCommand TableAnnotations MsSql # 
Instance details

Command RenameTable () MsSql # 
Instance details

Command Grant () MsSql # 
Instance details

Command UpdateQuery () MsSql # 
Instance details

Command GetRelationSchema [BackendSchemaField MsSql] MsSql # 
Instance details

Command ListTables (Set ListedTable) MsSql # 
Instance details

Command NormalizeTableNames (Map (Ref Table) NormalizedTable) MsSql # 
Instance details

FromJSON (DbBackendOptions MsSql) # 
Instance details

Generic (DbBackendOptions MsSql) # 
Instance details

Associated Types

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

Show (DbBackendOptions MsSql) # 
Instance details

Default (DbBackendOptions MsSql) # 
Instance details

Eq (DbBackendOptions MsSql) # 
Instance details

Command (CreateMaterializedView MsSqlMaterializedViewMeta) () MsSql # 
Instance details

Command (CreateTable TableMeta) () MsSql # 
Instance details

Command (CreateView ()) () MsSql # 
Instance details

FromJSON (BackendQueryStats MsSql) # 
Instance details

ToJSON (BackendQueryStats MsSql) # 
Instance details

Monoid (BackendQueryStats MsSql) # 
Instance details

Semigroup (BackendQueryStats MsSql) # 
Instance details

Generic (BackendQueryStats MsSql) # 
Instance details

Associated Types

type Rep (BackendQueryStats MsSql) :: Type -> Type #

Show (BackendSchemaField MsSql) # 
Instance details

Show (BackendQueryStats MsSql) # 
Instance details

Eq (BackendSchemaField MsSql) # 
Instance details

Eq (BackendQueryStats MsSql) # 
Instance details