napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Run.MsSql

Synopsis

Documentation

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

retryDeadLockVictim :: (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] #

refFqTable :: forall {k} (a :: k). Ref a -> (String, String) #

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

RunBackendConn MsSql # 
Instance details

FromRow AnnotationRow # 
Instance details

FromRow TableKind # 
Instance details

HasBackendSchemaField MsSql # 
Instance details

Associated Types

data BackendSchemaField MsSql 
Instance details

Defined in Napkin.Run.MsSql

CSVImport MsSql # 
Instance details

HasBackendQueryStats MsSql # 
Instance details

Associated Types

data BackendQueryStats MsSql 
Instance details

Defined in Napkin.Run.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 InsertIntoTable () 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) 
Instance details

Defined in Napkin.Run.MsSql

type Rep (DbBackendOptions MsSql) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.MsSql" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "MsSqlOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))
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 (CreateTableDDL 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) 
Instance details

Defined in Napkin.Run.MsSql

type Rep (BackendQueryStats MsSql) = D1 ('MetaData "BackendQueryStats" "Napkin.Run.MsSql" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "BackendQueryStats" 'PrefixI 'False) (U1 :: Type -> Type))
Show (BackendSchemaField MsSql) # 
Instance details

Show (BackendQueryStats MsSql) # 
Instance details

Eq (BackendSchemaField MsSql) # 
Instance details

Eq (BackendQueryStats MsSql) # 
Instance details