Structs§
- RefCall
- A reference to another dbt model via ref()
- Source
Call - A reference to a dbt source via source()
- SqlConfig
- Parsed config block from SQL
Functions§
- extract_
all - Extract all refs, sources, and config from SQL content in a single pass. Tries minijinja rendering first; falls back to regex on failure.
- extract_
all_ with_ vars - Like
extract_allbut resolvesvar()calls using project-level variables. - extract_
config - Extract config() block settings from SQL content. Tries minijinja rendering first; falls back to regex on failure.
- extract_
refs - Extract all ref() calls from SQL content.
- extract_
refs_ and_ sources - Extract all ref() and source() calls from SQL content in a single pass. Tries minijinja rendering first; falls back to regex on failure.
- extract_
refs_ and_ sources_ with_ vars - Like
extract_refs_and_sourcesbut resolvesvar()calls using project-level variables. - extract_
sources - Extract all source() calls from SQL content.