napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Run.Effects.Languages.SqlRender

Documentation

type SqlText = Text #

data SqlRender (m :: k) a where #

Constructors

RenderSExp :: forall {k} (m :: k). SExp -> SqlRender m Text 
RenderQuery :: forall {k} (m :: k). Query -> SqlRender m Text 

Instances

Instances details
GShow (SqlRender a :: Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Languages.SqlRender

Methods

gshowsPrec :: Int -> SqlRender a a0 -> ShowS #

CacheableEffect (SqlRender :: k -> Type -> Type) SqlRenderCacheKey # 
Instance details

Defined in Napkin.Run.Effects.Languages.SqlRender

Show (SqlRender a b) # 
Instance details

Defined in Napkin.Run.Effects.Languages.SqlRender

Methods

showsPrec :: Int -> SqlRender a b -> ShowS #

show :: SqlRender a b -> String #

showList :: [SqlRender a b] -> ShowS #

Eq (SqlRender m a) # 
Instance details

Defined in Napkin.Run.Effects.Languages.SqlRender

Methods

(==) :: SqlRender m a -> SqlRender m a -> Bool #

(/=) :: SqlRender m a -> SqlRender m a -> Bool #

Ord (SqlRender m a) # 
Instance details

Defined in Napkin.Run.Effects.Languages.SqlRender

Methods

compare :: SqlRender m a -> SqlRender m a -> Ordering #

(<) :: SqlRender m a -> SqlRender m a -> Bool #

(<=) :: SqlRender m a -> SqlRender m a -> Bool #

(>) :: SqlRender m a -> SqlRender m a -> Bool #

(>=) :: SqlRender m a -> SqlRender m a -> Bool #

max :: SqlRender m a -> SqlRender m a -> SqlRender m a #

min :: SqlRender m a -> SqlRender m a -> SqlRender m a #

renderSExp :: forall (r :: EffectRow). Member (SqlRender :: (Type -> Type) -> Type -> Type) r => SExp -> Sem r SqlText #

renderQuery :: forall (r :: EffectRow). Member (SqlRender :: (Type -> Type) -> Type -> Type) r => Query -> Sem r SqlText #

data SqlRenderCacheKey #

Instances

Instances details
CacheableEffect (SqlRender :: k -> Type -> Type) SqlRenderCacheKey # 
Instance details

Defined in Napkin.Run.Effects.Languages.SqlRender