napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Render.Utils

Synopsis

Documentation

unpackRenderedSql :: RenderedSql -> Text #

Helper functions for napkin repl

sqlToFile :: forall {k} a (b :: k). RenderSql a b => Proxy b -> a -> FilePath -> IO () #

Render to a local SQL file, mainly for debugging/devel help.

sqlToFileCollapsed :: forall {k} a (b :: k). RenderSql a b => Proxy b -> a -> FilePath -> IO () #

printSql :: forall {k} a (b :: k). RenderSql a b => Proxy b -> a -> IO () #