Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type SpecProgramName = Text
- type SpecProgramForYaml b = (SpecProgramName, Object -> Parser (SpecProgram b))
- newtype YamlRange a = YamlRange {}
- (-->) :: a -> b -> (a, b)
- parseTargetType :: Text -> Parser SpecTarget
- sql_query :: forall b. (ReifiesBackend b, ParseSQL b) => SpecProgramForYaml b
- sql_file :: SpecProgramForYaml b
- incremental_by_pk :: forall b. (ReifiesBackend b, ParseSQL b) => SpecProgramForYaml b
- incremental_by_time :: forall b. (ReifiesBackend b, ParseSQL b) => SpecProgramForYaml b
- long_to_wide :: forall b. (ReifiesBackend b, ParseSQL b) => SpecProgramForYaml b
Documentation
type SpecProgramName = Text #
type SpecProgramForYaml b = (SpecProgramName, Object -> Parser (SpecProgram b)) #
parseTargetType :: Text -> Parser SpecTarget #
sql_query :: forall b. (ReifiesBackend b, ParseSQL b) => SpecProgramForYaml b #
Define table with SQL query specified directly in YAML
sql_query: query: SELECT * FROM foo
sql_file :: SpecProgramForYaml b #
Define table with SQL query specified directly in YAML.
vars
is an optional object used to specify variables used in mustache interpolation.
sql_file: source: some_file.sql vars: agg: sum
incremental_by_pk :: forall b. (ReifiesBackend b, ParseSQL b) => SpecProgramForYaml b #
incremental_by_time :: forall b. (ReifiesBackend b, ParseSQL b) => SpecProgramForYaml b #
long_to_wide :: forall b. (ReifiesBackend b, ParseSQL b) => SpecProgramForYaml b #