napkin-backend-bigquery-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Types.Commands.BigQuery.Merge

Documentation

newtype WhenMatched #

Constructors

UpdateWhenMatched [(Name, SExp)] 

Instances

Instances details
Show WhenMatched # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Eq WhenMatched # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

newtype JoinOnPredicate #

Constructors

JoinOnPredicate SExp 

Instances

Instances details
Generic JoinOnPredicate # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Associated Types

type Rep JoinOnPredicate 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

type Rep JoinOnPredicate = D1 ('MetaData "JoinOnPredicate" "Napkin.Types.Commands.BigQuery.Merge" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'True) (C1 ('MetaCons "JoinOnPredicate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SExp)))
Show JoinOnPredicate # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Eq JoinOnPredicate # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

type Rep JoinOnPredicate # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

type Rep JoinOnPredicate = D1 ('MetaData "JoinOnPredicate" "Napkin.Types.Commands.BigQuery.Merge" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'True) (C1 ('MetaCons "JoinOnPredicate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SExp)))

newtype TableAlias #

Constructors

TableAlias Name 

Instances

Instances details
IsString TableAlias # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Generic TableAlias # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Associated Types

type Rep TableAlias 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

type Rep TableAlias = D1 ('MetaData "TableAlias" "Napkin.Types.Commands.BigQuery.Merge" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'True) (C1 ('MetaCons "TableAlias" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))
Show TableAlias # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Eq TableAlias # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

type Rep TableAlias # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

type Rep TableAlias = D1 ('MetaData "TableAlias" "Napkin.Types.Commands.BigQuery.Merge" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'True) (C1 ('MetaCons "TableAlias" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))

data Merge #

Instances

Instances details
Generic Merge # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Associated Types

type Rep Merge 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

type Rep Merge = D1 ('MetaData "Merge" "Napkin.Types.Commands.BigQuery.Merge" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'False) (C1 ('MetaCons "Merge" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ref Table)) :*: (S1 ('MetaSel ('Just "targetAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableAlias) :*: S1 ('MetaSel ('Just "using") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Query))) :*: ((S1 ('MetaSel ('Just "usingAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableAlias) :*: S1 ('MetaSel ('Just "mergeOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JoinOnPredicate)) :*: (S1 ('MetaSel ('Just "updateWhenMatched") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WhenMatched)) :*: S1 ('MetaSel ('Just "insertWhenNotMatchedByTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WhenNotMatched))))))

Methods

from :: Merge -> Rep Merge x #

to :: Rep Merge x -> Merge #

Show Merge # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Methods

showsPrec :: Int -> Merge -> ShowS #

show :: Merge -> String #

showList :: [Merge] -> ShowS #

Eq Merge # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

Methods

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

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

RenderSql Merge BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery.Merge

Methods

renderSql :: Proxy BigQuery -> Merge -> ME Doc #

type Rep Merge # 
Instance details

Defined in Napkin.Types.Commands.BigQuery.Merge

type Rep Merge = D1 ('MetaData "Merge" "Napkin.Types.Commands.BigQuery.Merge" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'False) (C1 ('MetaCons "Merge" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ref Table)) :*: (S1 ('MetaSel ('Just "targetAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableAlias) :*: S1 ('MetaSel ('Just "using") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Query))) :*: ((S1 ('MetaSel ('Just "usingAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableAlias) :*: S1 ('MetaSel ('Just "mergeOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JoinOnPredicate)) :*: (S1 ('MetaSel ('Just "updateWhenMatched") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WhenMatched)) :*: S1 ('MetaSel ('Just "insertWhenNotMatchedByTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WhenNotMatched))))))