qryflow_parse()
reads a SQL workflow file or character vector and parses it into
discrete tagged chunks based on @query
, @exec
, and other custom markers.
Details
This function is used internally by qryflow_run()
, but can also be used directly to
preprocess or inspect the structure of a SQL workflow.
Examples
filepath <- example_sql_path("mtcars.sql")
parsed <- qryflow_parse(filepath)