% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fd_connect.R
\name{fd_connect}
\alias{fd_connect}
\title{Connect to a database with featdelta defaults}
\usage{
fd_connect(
  driver,
  ...,
  raw_table = NULL,
  raw_table_name = NULL,
  feat_table_name = NULL,
  key = NULL,
  meta_enabled = FALSE,
  meta_schema = NULL
)
}
\arguments{
\item{driver}{A DBI driver object, such as \code{RSQLite::SQLite()},
\code{RPostgres::Postgres()}, or \code{RMariaDB::MariaDB()}.}

\item{...}{Additional arguments passed to \code{DBI::dbConnect()}.}

\item{raw_table}{Optional character scalar naming the raw/source table.}

\item{raw_table_name}{Deprecated alias for \code{raw_table}.}

\item{feat_table_name}{Optional character scalar naming the feature table.}

\item{key}{Optional character scalar naming the primary key column.}

\item{meta_enabled}{Logical. Whether featdelta metadata tracking is enabled.}

\item{meta_schema}{Optional list of metadata schema settings.}
}
\value{
A \code{featdelta_con} object.
}
\description{
Creates a \code{featdelta_con} context object from a DBI driver and connection
arguments. The returned object stores the live DBI connection plus optional
featdelta defaults such as the raw table, feature table, key column, and
metadata settings.
}
\concept{featdelta context helpers}
