dbt

package
v2.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package dbt writes a semantic layer as dbt's: one YAML file of semantic_models and metrics, in the shape dbt's semantic layer reads (dbt 1.6 and later), for an analytics engineer to put in a dbt project beside the models it refers to.

Index

Constants

View Source
const Path = "models/semantic/cartograph.yml"

Path is where the file goes in a dbt project.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct{}

Exporter is the dbt exporter.

func New

func New() Exporter

New returns the dbt exporter.

func (Exporter) Export

func (Exporter) Export(l semantic.Layer) ([]semantic.File, error)

Export writes the layer as one dbt YAML file.

func (Exporter) Format

func (Exporter) Format() string

Format is dbt.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL