copy_tables: Copy tables from one popcycle database to another.

Description Usage Arguments Value Examples

View source: R/db.R

Description

The source database will remained unchanged. The destination database will have selected table cleared before the copy. Schemas for source and destination tables must match or an error is thrown.

Usage

1
copy_tables(db_from, db_to, tables)

Arguments

db_from

Popcycle database to copy tables from.

db_to

Popcycle database to copy tables to.

tables

Tables to copy.

Value

None

Examples

1
2
3
4
## Not run: 
copy_tables(db_from, db_to)

## End(Not run)

armbrustlab/popcycle documentation built on Aug. 8, 2020, 1:08 a.m.