All Collections
FAQs
Does Lightdash content work with dbt exposures?
Does Lightdash content work with dbt exposures?
Katie Hindson avatar
Written by Katie Hindson
Updated over a week ago

Yes, you can use a Lightdash CLI command that generates exposures for your dbt docs and lineage graph.


Try it by installing the latest CLI version:
โ€‹

# install latest CLI version npm install -g @lightdash/cli@latest # Generate exposures lightdash generate-exposures


Limitations:
โ€‹

  • it generates a YML file in models/lightdash_exposures.yml and replaces the existing file

  • only the active project and its dashboard and charts are generated

  • the owner is the last user who updated the chart/dashboard

  • exposures depend on all possible joined models. eg: If a chart is created from the model "orders" which joins "payments". Both models will show as dependencies.

Did this answer your question?