napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Types.Commands

Documentation

data CreateTableSchema b #

Instances

Instances details
NapkinParserDialect b => RenderSql (CreateTableSchema b) (b :: Type) # 
Instance details

Defined in Napkin.Render.Common

Methods

renderSql :: Proxy b -> CreateTableSchema b -> ME Doc #

data InsertInto #

Constructors

TableInsert 
QueryInsert 

Fields

Instances

Instances details
BackendDialect b => RenderSql InsertInto (b :: k) # 
Instance details

Defined in Napkin.Render.Common

Methods

renderSql :: Proxy b -> InsertInto -> ME Doc #

data DeleteRows #

Constructors

DeleteRows 

Fields

Instances

Instances details
BackendDialect b => RenderSql DeleteRows (b :: k) # 
Instance details

Defined in Napkin.Render.Common

Methods

renderSql :: Proxy b -> DeleteRows -> ME Doc #

newtype Prefix #

Constructors

Prefix [Text] 

Instances

Instances details
Buildable Prefix # 
Instance details

Defined in Napkin.Types.Commands

Methods

build :: Prefix -> Builder #

Eq Prefix # 
Instance details

Defined in Napkin.Types.Commands

Methods

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

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

Ord Prefix # 
Instance details

Defined in Napkin.Types.Commands

newtype ListTables #

Constructors

ListTables (Set Prefix) 

newtype NormalizedTable #

Constructors

Normalized (Ref Table) 

Instances

Instances details
Buildable NormalizedTable # 
Instance details

Defined in Napkin.Types.Commands

Generic NormalizedTable # 
Instance details

Defined in Napkin.Types.Commands

Associated Types

type Rep NormalizedTable 
Instance details

Defined in Napkin.Types.Commands

type Rep NormalizedTable = D1 ('MetaData "NormalizedTable" "Napkin.Types.Commands" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'True) (C1 ('MetaCons "Normalized" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ref Table))))
Eq NormalizedTable # 
Instance details

Defined in Napkin.Types.Commands

Ord NormalizedTable # 
Instance details

Defined in Napkin.Types.Commands

type Rep NormalizedTable # 
Instance details

Defined in Napkin.Types.Commands

type Rep NormalizedTable = D1 ('MetaData "NormalizedTable" "Napkin.Types.Commands" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'True) (C1 ('MetaCons "Normalized" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ref Table))))