db_insert: Add/replace records in a db table from a data frame

View source: R/database.R

db_insertR Documentation

Add/replace records in a db table from a data frame

Description

Add/replace records in a db table from a data frame

Usage

db_insert(con, table, df)

Arguments

con

DBI database connection

table

Character. Name of table to add/replace records into

df

Data frame. Data from which to write data

References

Adapted from motus::dbInsertOrReplace() originally written by John Brzustowski for the motus package.


BirdStudiesCanada/rNatureCounts documentation built on July 3, 2023, 2:06 a.m.