napkin-0.5.14
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Run.Sqlite

Description

 

Documentation

class ReifiesBackend b => Backend b #

Minimal complete definition

backendQuery, backendConnectionString

Instances

Instances details
Backend BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Associated Types

data BackendConn BigQuery #

Backend MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Associated Types

data BackendConn MsSql #

Backend Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Associated Types

data BackendConn Postgres #

Backend Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Associated Types

data BackendConn Redshift #

Backend Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Associated Types

data BackendConn Sqlite #

class Command command return backend | backend command -> return #

Minimal complete definition

execCommand

Instances

Instances details
Command AEDA TableDiagnostics BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command AEDA TableDiagnostics MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command AEDA TableDiagnostics Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command AEDA TableDiagnostics Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command AEDA TableDiagnostics Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command AnnotateCommand () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command AnnotateCommand () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command AnnotateCommand () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command AnnotateCommand () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command AnnotateCommand () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command CheckTableExists Bool BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command CheckTableExists Bool MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command CheckTableExists Bool Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command CheckTableExists Bool Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command CheckTableExists Bool Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command CopyTable () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command CopyTable () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command CopyTable () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command CopyTable () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command CopyTable () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DeleteFrom () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DeleteFrom () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command DeleteFrom () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DeleteFrom () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command DeleteFrom () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DropTable () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DropTable () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command DropTable () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DropTable () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command DropTable () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DropView () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DropView () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command DropView () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DropView () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command DropView () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command GetTableKind TableKind BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command GetTableKind TableKind MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command GetTableKind TableKind Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command GetTableKind TableKind Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command GetTableKind TableKind Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command InsertIntoQuery () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command InsertIntoQuery () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command InsertIntoQuery () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command InsertIntoQuery () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command InsertIntoQuery () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command ReadAnnotationCommand TableAnnotations BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command ReadAnnotationCommand TableAnnotations MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command ReadAnnotationCommand TableAnnotations Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command ReadAnnotationCommand TableAnnotations Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command ReadAnnotationCommand TableAnnotations Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command RenameTable () BigQuery #

BQ implements rename via copy-then-drop

Instance details

Defined in Napkin.Run.BigQuery

Command RenameTable () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command RenameTable () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command RenameTable () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command RenameTable () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command Grant () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command Grant () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command Grant () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command Grant () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command Grant () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command UpdateQuery () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command UpdateQuery () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command UpdateQuery () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command UpdateQuery () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command UpdateQuery () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command GetRelationSchema [BackendSchemaField BigQuery] BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command GetRelationSchema [BackendSchemaField MsSql] MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command GetRelationSchema [BackendSchemaField Postgres] Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command GetRelationSchema [BackendSchemaField Redshift] Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command GetRelationSchema [BackendSchemaField Sqlite] Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command ListTables (Set ListedTable) BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command ListTables (Set ListedTable) MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command ListTables (Set ListedTable) Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command ListTables (Set ListedTable) Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command ListTables (Set ListedTable) Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

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

Defined in Napkin.Run.BigQuery

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

Defined in Napkin.Run.MsSql

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

Defined in Napkin.Run.Postgres

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

Defined in Napkin.Run.Redshift

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

Defined in Napkin.Run.Sqlite

Command (CreateMaterializedView MaterializedViewMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateMaterializedView MsSqlMaterializedViewMeta) () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command (CreateMaterializedView MaterializedViewMeta) () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command (CreateMaterializedView SqliteMaterializedViewMeta) () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command (CreateMaterializedView ()) () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command (CreateTable TableMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateTable TableMeta) () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command (CreateTable TableMeta) () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command (CreateTable TableMeta) () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command (CreateTable ()) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateTable ()) () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command (CreateTable ()) () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command (CreateView ViewMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

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

Defined in Napkin.Run.MsSql

Command (CreateView ()) () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command (CreateView ()) () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command (CreateView ()) () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

withSqliteString #

Arguments

:: ConnectionString 
-> (BackendConn Sqlite -> IO b)

sqlite uri

-> IO b 

data family BackendSchemaField bk #

Instances

Instances details
Command GetRelationSchema [BackendSchemaField BigQuery] BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command GetRelationSchema [BackendSchemaField MsSql] MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command GetRelationSchema [BackendSchemaField Postgres] Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command GetRelationSchema [BackendSchemaField Redshift] Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command GetRelationSchema [BackendSchemaField Sqlite] Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Show (BackendSchemaField BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

Show (BackendSchemaField MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Show (BackendSchemaField Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

Show (BackendSchemaField Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

Show (BackendSchemaField Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Eq (BackendSchemaField BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

Eq (BackendSchemaField MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Eq (BackendSchemaField Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

Eq (BackendSchemaField Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

Eq (BackendSchemaField Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

FromRow (BackendSchemaField Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

data BackendSchemaField BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

data BackendSchemaField MsSql # 
Instance details

Defined in Napkin.Run.MsSql

data BackendSchemaField Postgres # 
Instance details

Defined in Napkin.Run.Postgres

data BackendSchemaField Redshift # 
Instance details

Defined in Napkin.Run.Redshift

data BackendSchemaField Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

data family DbBackendOptions b #

Instances

Instances details
FromJSON (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

FromJSON (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

FromJSON (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

FromJSON (DbBackendOptions Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

FromJSON (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Generic (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

Associated Types

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

Generic (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Associated Types

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

Generic (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

Associated Types

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

Generic (DbBackendOptions Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

Associated Types

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

Generic (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Associated Types

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

Show (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

Show (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Show (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

Show (DbBackendOptions Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

Show (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Default (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

Default (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Default (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

Default (DbBackendOptions Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

Default (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

Eq (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

Eq (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

Eq (DbBackendOptions Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

Eq (DbBackendOptions Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

Eq (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

data DbBackendOptions BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery.Types

newtype DbBackendOptions MsSql # 
Instance details

Defined in Napkin.Run.MsSql

newtype DbBackendOptions Postgres # 
Instance details

Defined in Napkin.Run.Postgres

newtype DbBackendOptions Redshift # 
Instance details

Defined in Napkin.Run.Redshift

data DbBackendOptions Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

type Rep (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

type Rep (DbBackendOptions MsSql) # 
Instance details

Defined in Napkin.Run.MsSql

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

Defined in Napkin.Run.Postgres

type Rep (DbBackendOptions Postgres) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.Postgres" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'True) (C1 ('MetaCons "PostgresOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))
type Rep (DbBackendOptions Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

type Rep (DbBackendOptions Redshift) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.Redshift" "napkin-0.5.14-JrXUGmKUOt9J0meJSj0Kh4" 'True) (C1 ('MetaCons "RedshiftOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))
type Rep (DbBackendOptions Sqlite) # 
Instance details

Defined in Napkin.Run.Sqlite

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

Orphan instances

Backend Sqlite # 
Instance details

Associated Types

data BackendConn Sqlite #

RunBackendConn Sqlite # 
Instance details

FromField Value # 
Instance details

FromRow Text # 
Instance details

HasBackendSchemaField Sqlite # 
Instance details

Associated Types

data BackendSchemaField Sqlite #

CSVImport Sqlite # 
Instance details

HasBackendQueryStats Sqlite # 
Instance details

Associated Types

data BackendQueryStats Sqlite #

Command AEDA TableDiagnostics Sqlite # 
Instance details

Command AnnotateCommand () Sqlite # 
Instance details

Command CheckTableExists Bool Sqlite # 
Instance details

Command CopyTable () Sqlite # 
Instance details

Command DeleteFrom () Sqlite # 
Instance details

Command DropTable () Sqlite # 
Instance details

Command DropView () Sqlite # 
Instance details

Command GetTableKind TableKind Sqlite # 
Instance details

Command InsertIntoQuery () Sqlite # 
Instance details

Command ReadAnnotationCommand TableAnnotations Sqlite # 
Instance details

Command RenameTable () Sqlite # 
Instance details

Command Grant () Sqlite # 
Instance details

Command UpdateQuery () Sqlite # 
Instance details

Command GetRelationSchema [BackendSchemaField Sqlite] Sqlite # 
Instance details

Command ListTables (Set ListedTable) Sqlite # 
Instance details

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

FromJSON (DbBackendOptions Sqlite) # 
Instance details

Generic (DbBackendOptions Sqlite) # 
Instance details

Associated Types

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

Show (DbBackendOptions Sqlite) # 
Instance details

Default (DbBackendOptions Sqlite) # 
Instance details

Eq (DbBackendOptions Sqlite) # 
Instance details

Command (CreateMaterializedView SqliteMaterializedViewMeta) () Sqlite # 
Instance details

Command (CreateTable ()) () Sqlite # 
Instance details

Command (CreateView ()) () Sqlite # 
Instance details

FromJSON (BackendQueryStats Sqlite) # 
Instance details

ToJSON (BackendQueryStats Sqlite) # 
Instance details

Monoid (BackendQueryStats Sqlite) # 
Instance details

Semigroup (BackendQueryStats Sqlite) # 
Instance details

Generic (BackendQueryStats Sqlite) # 
Instance details

Associated Types

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

Show (BackendSchemaField Sqlite) # 
Instance details

Show (BackendQueryStats Sqlite) # 
Instance details

Eq (BackendSchemaField Sqlite) # 
Instance details

Eq (BackendQueryStats Sqlite) # 
Instance details

FromRow (BackendSchemaField Sqlite) # 
Instance details