napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Run.Effects.Languages.StatementParse

Documentation

data CreateTableDDL #

Constructors

CreateTableDDL 

Instances

Instances details
Generic CreateTableDDL # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

Associated Types

type Rep CreateTableDDL 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep CreateTableDDL = D1 ('MetaData "CreateTableDDL" "Napkin.Run.Effects.Languages.StatementParse" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) (C1 ('MetaCons "CreateTableDDL" 'PrefixI 'True) (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Name)) :*: S1 ('MetaSel ('Just "columns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableElement])))
Show CreateTableDDL # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

Eq CreateTableDDL # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

Stateable CreateTableDDL # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep CreateTableDDL # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep CreateTableDDL = D1 ('MetaData "CreateTableDDL" "Napkin.Run.Effects.Languages.StatementParse" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) (C1 ('MetaCons "CreateTableDDL" 'PrefixI 'True) (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Name)) :*: S1 ('MetaSel ('Just "columns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableElement])))

data InsertStatement #

Constructors

Insert 

Instances

Instances details
Generic InsertStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

Associated Types

type Rep InsertStatement 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep InsertStatement = D1 ('MetaData "InsertStatement" "Napkin.Run.Effects.Languages.StatementParse" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) (C1 ('MetaCons "Insert" 'PrefixI 'True) (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Name)) :*: (S1 ('MetaSel ('Just "columnNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Name])) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InsertSource))))
Show InsertStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

Eq InsertStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

Stateable InsertStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep InsertStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep InsertStatement = D1 ('MetaData "InsertStatement" "Napkin.Run.Effects.Languages.StatementParse" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) (C1 ('MetaCons "Insert" 'PrefixI 'True) (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Name)) :*: (S1 ('MetaSel ('Just "columnNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Name])) :*: S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InsertSource))))

withQueryMB :: InsertStatement -> (InsertStatement -> a) -> (Query -> a) -> a #

data ExtendedStatement #

Instances

Instances details
Generic ExtendedStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

Associated Types

type Rep ExtendedStatement 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep ExtendedStatement = D1 ('MetaData "ExtendedStatement" "Napkin.Run.Effects.Languages.StatementParse" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) (C1 ('MetaCons "ExtendedStatement" 'PrefixI 'True) (S1 ('MetaSel ('Just "ddl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CreateTableDDL) :*: S1 ('MetaSel ('Just "inserts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [InsertStatement])))
Show ExtendedStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

Eq ExtendedStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep ExtendedStatement # 
Instance details

Defined in Napkin.Run.Effects.Languages.StatementParse

type Rep ExtendedStatement = D1 ('MetaData "ExtendedStatement" "Napkin.Run.Effects.Languages.StatementParse" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) (C1 ('MetaCons "ExtendedStatement" 'PrefixI 'True) (S1 ('MetaSel ('Just "ddl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CreateTableDDL) :*: S1 ('MetaSel ('Just "inserts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [InsertStatement])))