napkin-api-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Spec.Types.CreateTableAs

Documentation

data CreateTableAs b #

Constructors

CreateTableAs 

Instances

Instances details
RenderSql Query a => RenderSql (CreateTableAs a) (a :: Type) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

Methods

renderSql :: Proxy a -> CreateTableAs a -> ME Doc #

(Data (BackendTableMeta b), Typeable (BackendTableMeta b), Typeable b, Data b) => Data (CreateTableAs b) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

Methods

gfoldl :: (forall d b0. Data d => c (d -> b0) -> d -> c b0) -> (forall g. g -> c g) -> CreateTableAs b -> c (CreateTableAs b) #

gunfold :: (forall b0 r. Data b0 => c (b0 -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (CreateTableAs b) #

toConstr :: CreateTableAs b -> Constr #

dataTypeOf :: CreateTableAs b -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (CreateTableAs b)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (CreateTableAs b)) #

gmapT :: (forall b0. Data b0 => b0 -> b0) -> CreateTableAs b -> CreateTableAs b #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateTableAs b -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateTableAs b -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateTableAs b -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateTableAs b -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateTableAs b -> m (CreateTableAs b) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateTableAs b -> m (CreateTableAs b) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateTableAs b -> m (CreateTableAs b) #

Generic (CreateTableAs b) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

Associated Types

type Rep (CreateTableAs b) 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

type Rep (CreateTableAs b) = D1 ('MetaData "CreateTableAs" "Napkin.Spec.Types.CreateTableAs" "napkin-api-2.0.0-Dv0TTighdJzLQkO5RNigEJ" 'False) (C1 ('MetaCons "CreateTableAs" 'PrefixI 'True) (S1 ('MetaSel ('Just "meta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BackendTableMeta b)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecTableName) :*: S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Query))))
Show (BackendTableMeta b) => Show (CreateTableAs b) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

Eq (BackendTableMeta b) => Eq (CreateTableAs b) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

AsRelation (CreateTableAs m) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

HasDefinition (CreateTableAs m) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

MaybeQuery (CreateTableAs m) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

TableRef (CreateTableAs m) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

HasDeps (CreateTableAs m) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

type Rep (CreateTableAs b) # 
Instance details

Defined in Napkin.Spec.Types.CreateTableAs

type Rep (CreateTableAs b) = D1 ('MetaData "CreateTableAs" "Napkin.Spec.Types.CreateTableAs" "napkin-api-2.0.0-Dv0TTighdJzLQkO5RNigEJ" 'False) (C1 ('MetaCons "CreateTableAs" 'PrefixI 'True) (S1 ('MetaSel ('Just "meta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BackendTableMeta b)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecTableName) :*: S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Query))))

ctaMeta :: forall b f. Functor f => (BackendTableMeta b -> f (BackendTableMeta b)) -> CreateTableAs b -> f (CreateTableAs b) #

ctaName :: forall b f. Functor f => (SpecTableName -> f SpecTableName) -> CreateTableAs b -> f (CreateTableAs b) #

ctaQuery :: forall b f. Functor f => (Query -> f Query) -> CreateTableAs b -> f (CreateTableAs b) #