Skip to content

dbt-labs/dbt-adapters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b221b09 · Jul 9, 2024
Jul 3, 2024
Jun 20, 2024
Jul 8, 2024
Jul 9, 2024
May 14, 2024
May 16, 2024
Jan 12, 2024
Jun 7, 2024
Jul 3, 2024
Apr 19, 2024
Jul 2, 2024
Jun 7, 2024
Jan 9, 2024
Jan 22, 2024
Jun 18, 2024

Repository files navigation

dbt logo

dbt-tests-adapter

This package is responsible for:

  • defining database connection methods
  • caching information from databases
  • determining how relations are defined

There are two major adapter types: base and sql

Directories

base

Defines the base implementation Adapters can use to build out full functionality.

sql

Defines a sql implementation for adapters that initially inherits the base implementation and comes with some pre-made methods and macros that can be overwritten as needed per adapter. (most common type of adapter.)

Files

cache.py

Cached information from the database.

factory.py

Defines how we generate adapter objects

protocol.py

Defines various interfaces for various adapter objects. Helps mypy correctly resolve methods.

reference_keys.py

Configures naming scheme for cache elements to be universal.