dbGetPrimaryKey: Fetch the primary key columns

Description Usage Arguments See Also

View source: R/db-get_primary_key.R

Description

We need the primary keys of a database table to provide a sensible default key for upserts and inserts.

Usage

1

Arguments

conn

(DBIConnection) object

table

(Id) identifier for the primary key

See Also

Other Extra DBI Methods: dbClone(), dbInTransaction(), dbSetConnId()


tjpalanca/dbtools documentation built on Oct. 7, 2021, 6:43 a.m.