module Hasql.DynamicStatements.Session where
import qualified Hasql.Decoders as Decoders
import Hasql.DynamicStatements.Prelude
import qualified Hasql.DynamicStatements.Snippet.Defs as SnippetDefs
import qualified Hasql.DynamicStatements.Statement as Statement
import Hasql.Session
import qualified Hasql.Session as Session
dynamicallyParameterizedStatement :: SnippetDefs.Snippet -> Decoders.Result result -> Bool -> Session result
dynamicallyParameterizedStatement :: forall result. Snippet -> Result result -> Bool -> Session result
dynamicallyParameterizedStatement Snippet
snippet Result result
decoder Bool
prepared =
() -> Statement () result -> Session result
forall params result.
params -> Statement params result -> Session result
Session.statement () (Snippet -> Result result -> Bool -> Statement () result
forall result.
Snippet -> Result result -> Bool -> Statement () result
Statement.dynamicallyParameterized Snippet
snippet Result result
decoder Bool
prepared)