napkin-0.5.12
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Napkin.Types.Sqlite

Description

 

Documentation

data Sqlite #

Constructors

Sqlite 

Instances

Instances details
Eq Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

Methods

(==) :: Sqlite -> Sqlite -> Bool #

(/=) :: Sqlite -> Sqlite -> Bool #

Data Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

Methods

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

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

toConstr :: Sqlite -> Constr #

dataTypeOf :: Sqlite -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

Show Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

ReifiesBackend Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

Backend Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Associated Types

data BackendConn Sqlite #

RunBackendEffect Sqlite # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.Sqlite

Methods

runBackendEffectReal :: forall (r :: [(Type -> Type) -> Type -> Type]) a. (Members (Core Sqlite) r, Member (Embed IO) r) => BackendConn Sqlite -> Sem (BackendSpecificEffect Sqlite ': r) a -> Sem r a #

runBackendEffectFake :: forall (r :: [(Type -> Type) -> Type -> Type]) a. (Members (Core Sqlite) r, Member (Embed IO) r) => Sem (BackendSpecificEffect Sqlite ': r) a -> Sem r a #

RunBackendConn Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

HasSqliteConn Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

RenderSql String Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> String -> Doc #

RenderSql Query Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> Query -> Doc #

RenderSql From Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> From -> Doc #

RenderSql Relation Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> Relation -> Doc #

RenderSql SExp Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> SExp -> Doc #

RenderSql Object Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> Object -> Doc #

RenderSql DeleteFrom Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> DeleteFrom -> Doc #

RenderSql InsertIntoQuery Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

RenderSql DropTable Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> DropTable -> Doc #

RenderSql DropView Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> DropView -> Doc #

RenderSql RenameTable Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> RenameTable -> Doc #

Command Grant Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command CheckTableExists Bool Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DeleteFrom Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command InsertIntoQuery Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DropTable Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DropView Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command CopyTable Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command RenameTable Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command GetRelationSchema (Fields Field) Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Eq (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Show (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Generic (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Associated Types

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

ToJSON (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

FromJSON (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

FromJSON (YamlBackendMaterializedViewMeta Sqlite) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

FromJSON (YamlBackendViewMeta Sqlite) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

FromJSON (YamlBackendTableMeta Sqlite) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

Default (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

MaybeDefault (YamlBackendMaterializedViewMeta Sqlite) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

MaybeDefault (YamlBackendViewMeta Sqlite) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

MaybeDefault (YamlBackendTableMeta Sqlite) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

ToDbBackend Sqlite # 
Instance details

Defined in Napkin.Backends.Types

RenderSql a Sqlite => RenderSql (Alias a) Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> Alias a -> Doc #

RenderSql (CreateMaterializedViewAs SqliteMaterializedViewMeta) Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

RenderSql (CreateViewAs ()) Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> CreateViewAs () -> Doc #

RenderSql (CreateTableAs ()) Sqlite #

Commands

Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> CreateTableAs () -> Doc #

Command (CreateMaterializedViewAs SqliteMaterializedViewMeta) Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command (CreateViewAs ()) Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command (CreateTableAs ()) Int Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

RenderSql (Ref t) Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

Methods

renderSql :: Sqlite -> Ref t -> Doc #

data BackendSpecificEffect Sqlite m a # 
Instance details

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

type BackendMaterializedViewMeta Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

type BackendViewMeta Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

type BackendTableMeta Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

data BackendConn Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

data DbBackendOptions Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

type Rep (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

type Rep (DbBackendOptions Sqlite) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.Sqlite" "napkin-0.5.12-IOJ7B058YIK5gpjD82pDT5" 'False) (C1 ('MetaCons "SqliteOptions" 'PrefixI 'False) (U1 :: Type -> Type))