Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- readLocalSql :: (MonadIO m, MustacheBackend b) => Maybe InterpreterInstance -> b -> FilePath -> SqlTemplateVariables -> m String
- readLocalSql' :: (MonadIO m, MustacheBackend b) => Maybe InterpreterInstance -> b -> FilePath -> SqlTemplateVariables -> m (Either Text Text)
- loadQueryFromSql :: (MonadIO m, ParseSQL b, MustacheBackend b) => Maybe InterpreterInstance -> b -> FilePath -> SqlTemplateVariables -> m Query
Documentation
readLocalSql :: (MonadIO m, MustacheBackend b) => Maybe InterpreterInstance -> b -> FilePath -> SqlTemplateVariables -> m String #
Read local SQL file, apply template substitutions.
readLocalSql' :: (MonadIO m, MustacheBackend b) => Maybe InterpreterInstance -> b -> FilePath -> SqlTemplateVariables -> m (Either Text Text) #
Read local SQL file, apply template substitutions.
loadQueryFromSql :: (MonadIO m, ParseSQL b, MustacheBackend b) => Maybe InterpreterInstance -> b -> FilePath -> SqlTemplateVariables -> m Query #
Load a local SQL file as a Query object.