Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
data SqlRender (m :: k) a where #
RenderSExp :: forall {k} (m :: k). SExp -> SqlRender m Text | |
RenderQuery :: forall {k} (m :: k). Query -> SqlRender m Text |
Instances
GShow (SqlRender a :: Type -> Type) # | |
Defined in Napkin.Run.Effects.Languages.SqlRender gshowsPrec :: Int -> SqlRender a a0 -> ShowS # | |
CacheableEffect (SqlRender :: k -> Type -> Type) SqlRenderCacheKey # | |
Defined in Napkin.Run.Effects.Languages.SqlRender | |
Show (SqlRender a b) # | |
Eq (SqlRender m a) # | |
Ord (SqlRender m a) # | |
Defined in Napkin.Run.Effects.Languages.SqlRender 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 # |
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
CacheableEffect (SqlRender :: k -> Type -> Type) SqlRenderCacheKey # | |
Defined in Napkin.Run.Effects.Languages.SqlRender |