napkin-backend-sqlite-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Types.Sqlite

Documentation

data Sqlite #

Instances

Instances details
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 #

Backend Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Methods

backendConnectionString :: BackendConn Sqlite -> ConnectionString #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

RunBackendConn Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

BackendName Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

Methods

backendName :: Text #

NapkinParserDialect Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

BackendOperators Sqlite # 
Instance details

Defined in Napkin.Revert.Sqlite

CSVImport Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

HasBackendSchemaField Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

HasBackendQueryStats Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Associated Types

data BackendQueryStats Sqlite 
Instance details

Defined in Napkin.Run.Sqlite

SqlConcat Sqlite # 
Instance details

Defined in Napkin.Untyped.Ops.Portable.Sqlite

Methods

concat :: [SExp] -> SExp #

RenderSql DropRelation Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

RenderSql RenameRelation Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

SimpleTypeName Sqlite 'TyBigInt # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyBlob # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyBool # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyChar # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyDate # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyDatetime # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyDecimal # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyDouble # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyInteger # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyReal # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TySmallInt # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyTimestamp # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

SimpleTypeName Sqlite 'TyVarChar # 
Instance details

Defined in Napkin.Revert.Sqlite

Methods

simpleName :: String #

RenderSql (CreateRelation Sqlite) Sqlite # 
Instance details

Defined in Napkin.Render.Sqlite

FromJSON (YamlBackendMaterializedViewMeta Sqlite) # 
Instance details

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

FromJSON (YamlBackendTableMeta Sqlite) # 
Instance details

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

FromJSON (YamlBackendViewMeta Sqlite) # 
Instance details

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

FromJSON (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Default (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) 
Instance details

Defined in Napkin.Run.Sqlite

type Rep (DbBackendOptions Sqlite) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.Sqlite" "napkin-backend-sqlite-2.0.0-5tDB3kLlbnRYjGKat6306" 'False) (C1 ('MetaCons "SqliteOptions" 'PrefixI 'False) (U1 :: Type -> Type))
Show (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Eq (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

MaybeDefault (YamlBackendMaterializedViewMeta Sqlite) # 
Instance details

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

MaybeDefault (YamlBackendTableMeta Sqlite) # 
Instance details

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

MaybeDefault (YamlBackendViewMeta Sqlite) # 
Instance details

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

FromJSON (BackendQueryStats Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

ToJSON (BackendQueryStats Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Monoid (BackendQueryStats Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Semigroup (BackendQueryStats Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Generic (BackendQueryStats Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Associated Types

type Rep (BackendQueryStats Sqlite) 
Instance details

Defined in Napkin.Run.Sqlite

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

Defined in Napkin.Run.Sqlite

Show (BackendQueryStats Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Eq (BackendSchemaField Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Eq (BackendQueryStats Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

FromRow (BackendSchemaField Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

data BackendConn Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

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 BackendTableMeta Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

type BackendViewMeta Sqlite # 
Instance details

Defined in Napkin.Types.Sqlite

data DbBackendOptions Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

data BackendSchemaField Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

data BackendQueryStats 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-backend-sqlite-2.0.0-5tDB3kLlbnRYjGKat6306" 'False) (C1 ('MetaCons "SqliteOptions" 'PrefixI 'False) (U1 :: Type -> Type))
type Rep (BackendQueryStats Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

type Rep (BackendQueryStats Sqlite) = D1 ('MetaData "BackendQueryStats" "Napkin.Run.Sqlite" "napkin-backend-sqlite-2.0.0-5tDB3kLlbnRYjGKat6306" 'False) (C1 ('MetaCons "BackendQueryStats" 'PrefixI 'False) (U1 :: Type -> Type))