napkin-0.5.8
Safe HaskellNone
LanguageHaskell2010

Napkin.Spec.Yaml.Types.Preprocessors

Synopsis

Documentation

(-->) :: a -> b -> (a, b) #

table_prefix :: PreprocessorForYaml b #

Add table name prefix to all managed tables

table_prefix:
 value: development # allows to set default, preprocessor will fail if the value has not been provided
 override_with_arg: table_prefix # allows to override argument name used to set table prefix
 separator: _ # will insert that separator if prefix is not empty, defaults to empty

Example usage: > table_prefix: > override_with_arg: developer > separator: _

table_namespace :: PreprocessorForYaml b #

Move all managed tables into schema (postgres) or dataset (BigQuery)

table_namespace:
 value: development # allows to set default, preprocessor will fail if the value has not been provided
 override_with_arg: table_namespace # allows to override argument name used to set table namespace