Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Class of things that have external table dependencies
traverseDependencies :: Fold a (Ref Table) #
Instances
HasDeps Query # | |
Defined in Napkin.Types.Deps | |
HasDeps From # | |
Defined in Napkin.Types.Deps | |
HasDeps Relation # | |
Defined in Napkin.Types.Deps | |
HasDeps SExp # | |
Defined in Napkin.Types.Deps | |
HasDeps ML_Predict # | |
Defined in Napkin.Types.Commands.BigQuery | |
HasDeps CreateModel # | |
Defined in Napkin.Types.Commands.BigQuery | |
HasDeps a => HasDeps [a] # | |
Defined in Napkin.Types.Deps traverseDependencies :: Fold [a] (Ref Table) # | |
HasDeps a => HasDeps (Selected a) # | |
Defined in Napkin.Types.Deps | |
HasDeps (Ref Table) # | |
Defined in Napkin.Types.Deps | |
HasDeps (CreateTableAs m) # | |
Defined in Napkin.Spec.Types traverseDependencies :: Fold (CreateTableAs m) (Ref Table) # |
queryDependencies :: Data s => Fold s (Ref Table) #
Figure out external table dependencies within a construct - e.g. Query or one of the commands.
rawRelation :: HasDeps s => (s -> String) -> s -> Relation #
Extract deps from object, render to string and wrap into a RawRelation