napkin-backend-mssql-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Types.MsSql

Documentation

data MsSql #

Instances

Instances details
Data MsSql # 
Instance details

Defined in Napkin.Types.MsSql

Methods

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

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

toConstr :: MsSql -> Constr #

dataTypeOf :: MsSql -> DataType #

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

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

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

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

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

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

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

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

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

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

Backend MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Methods

backendConnectionString :: BackendConn MsSql -> ConnectionString #

backendExecute :: (MonadNapkin MsSql m, RenderSql command MsSql) => BackendConn MsSql -> command -> m () #

backendQuery :: (MonadNapkin MsSql m, RenderSql q MsSql) => BackendConn MsSql -> q -> m [Map Text Value] #

backendCheckTableExists :: MonadNapkin MsSql m => BackendConn MsSql -> Ref Table -> m Bool #

backendGetTableKind :: MonadNapkin MsSql m => BackendConn MsSql -> Ref Table -> m TableKind #

backendGetRelationSchema :: MonadNapkin MsSql m => BackendConn MsSql -> Ref Table -> Relation -> m [BackendSchemaField MsSql] #

backendGetAnnotations :: MonadNapkin MsSql m => BackendConn MsSql -> Ref Table -> m TableAnnotations #

backendAnnotate :: MonadNapkin MsSql m => BackendConn MsSql -> Ref Table -> Annotation -> m () #

backendCreateAs :: (command ~ CreateRelation MsSql, RenderSql command MsSql, MonadNapkin MsSql m) => BackendConn MsSql -> command -> m () #

backendCreate :: (command ~ CreateTableSchema MsSql, RenderSql command MsSql, MonadNapkin MsSql m) => BackendConn MsSql -> command -> m () #

backendCopyTable :: (MonadNapkin MsSql m, RenderSql DeleteRows MsSql, RenderSql InsertInto MsSql, RenderSql (CreateRelation MsSql) MsSql, Default (BackendMeta 'KindTable MsSql)) => BackendConn MsSql -> Ref Table -> Ref Table -> TableWriteStrategy -> m () #

backendDrop :: MonadNapkin MsSql m => BackendConn MsSql -> DropRelation -> m () #

backendInsertInto :: (command ~ InsertInto, RenderSql command MsSql, MonadNapkin MsSql m) => BackendConn MsSql -> command -> m () #

backendRename :: MonadNapkin MsSql m => BackendConn MsSql -> RenameRelation -> m () #

backendListTables :: MonadNapkin MsSql m => BackendConn MsSql -> ListTables -> m (Set ListedTable) #

backendNormalize :: MonadNapkin MsSql m => BackendConn MsSql -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) #

RunBackendConn MsSql # 
Instance details

Defined in Napkin.Run.MsSql

BackendName MsSql # 
Instance details

Defined in Napkin.Types.MsSql

Methods

backendName :: Text #

NapkinParserDialect MsSql # 
Instance details

Defined in Napkin.Types.MsSql

BackendOperators MsSql # 
Instance details

Defined in Napkin.Revert.MsSql

CSVImport MsSql # 
Instance details

Defined in Napkin.Run.MsSql

HasBackendSchemaField MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Associated Types

data BackendSchemaField MsSql 
Instance details

Defined in Napkin.Run.MsSql

HasBackendQueryStats MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Associated Types

data BackendQueryStats MsSql 
Instance details

Defined in Napkin.Run.MsSql

SqlConcat MsSql # 
Instance details

Defined in Napkin.Untyped.Ops.Portable.MsSql

Methods

concat :: [SExp] -> SExp #

RenderSql SetTableSchema MsSql # 
Instance details

Defined in Napkin.Render.MsSql

RenderSql DropRelation MsSql # 
Instance details

Defined in Napkin.Render.MsSql

RenderSql RenameRelation MsSql # 
Instance details

Defined in Napkin.Render.MsSql

SimpleTypeName MsSql 'TyBigInt # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyBlob # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyBool # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyChar # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyDate # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyDatetime # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyDecimal # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyDouble # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyInteger # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyReal # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TySmallInt # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyTimestamp # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

SimpleTypeName MsSql 'TyVarChar # 
Instance details

Defined in Napkin.Revert.MsSql

Methods

simpleName :: String #

RenderSql (CreateRelation MsSql) MsSql # 
Instance details

Defined in Napkin.Render.MsSql

FromJSON (YamlBackendMaterializedViewMeta MsSql) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta.MSSQL

FromJSON (YamlBackendTableMeta MsSql) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta.MSSQL

FromJSON (YamlBackendViewMeta MsSql) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta.MSSQL

FromJSON (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Default (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Generic (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Associated Types

type Rep (DbBackendOptions MsSql) 
Instance details

Defined in Napkin.Run.MsSql

type Rep (DbBackendOptions MsSql) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.MsSql" "napkin-backend-mssql-2.0.0-DUZ2oAOWMDC4ldwnbKmiTf" 'True) (C1 ('MetaCons "MsSqlOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))
Show (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Eq (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

MaybeDefault (YamlBackendMaterializedViewMeta MsSql) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta.MSSQL

MaybeDefault (YamlBackendTableMeta MsSql) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta.MSSQL

MaybeDefault (YamlBackendViewMeta MsSql) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta.MSSQL

FromJSON (BackendQueryStats MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

ToJSON (BackendQueryStats MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Monoid (BackendQueryStats MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Semigroup (BackendQueryStats MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Generic (BackendQueryStats MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Associated Types

type Rep (BackendQueryStats MsSql) 
Instance details

Defined in Napkin.Run.MsSql

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

Defined in Napkin.Run.MsSql

Show (BackendQueryStats MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Eq (BackendSchemaField MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Eq (BackendQueryStats MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

data BackendConn MsSql # 
Instance details

Defined in Napkin.Run.MsSql

data BackendSpecificEffect MsSql m a # 
Instance details

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

type BackendMaterializedViewMeta MsSql # 
Instance details

Defined in Napkin.Types.MsSql

type BackendTableMeta MsSql # 
Instance details

Defined in Napkin.Types.MsSql

type BackendViewMeta MsSql # 
Instance details

Defined in Napkin.Types.MsSql

newtype DbBackendOptions MsSql # 
Instance details

Defined in Napkin.Run.MsSql

data BackendSchemaField MsSql # 
Instance details

Defined in Napkin.Run.MsSql

data BackendQueryStats MsSql # 
Instance details

Defined in Napkin.Run.MsSql

type Rep (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

type Rep (DbBackendOptions MsSql) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.MsSql" "napkin-backend-mssql-2.0.0-DUZ2oAOWMDC4ldwnbKmiTf" 'True) (C1 ('MetaCons "MsSqlOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))
type Rep (BackendQueryStats MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

type Rep (BackendQueryStats MsSql) = D1 ('MetaData "BackendQueryStats" "Napkin.Run.MsSql" "napkin-backend-mssql-2.0.0-DUZ2oAOWMDC4ldwnbKmiTf" 'False) (C1 ('MetaCons "BackendQueryStats" 'PrefixI 'False) (U1 :: Type -> Type))

type TableMeta = () #

data SetTableSchema #

Constructors

SetTableSchema 

Instances

Instances details
Data SetTableSchema # 
Instance details

Defined in Napkin.Types.MsSql

Methods

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

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

toConstr :: SetTableSchema -> Constr #

dataTypeOf :: SetTableSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SetTableSchema # 
Instance details

Defined in Napkin.Types.MsSql

Eq SetTableSchema # 
Instance details

Defined in Napkin.Types.MsSql

RenderSql SetTableSchema MsSql # 
Instance details

Defined in Napkin.Render.MsSql

data MsSchemaField #

Instances

Instances details
Show MsSchemaField # 
Instance details

Defined in Napkin.Types.MsSql

Eq MsSchemaField # 
Instance details

Defined in Napkin.Types.MsSql