dbClone: Clone a database connection

Description Usage Arguments See Also

View source: R/db-clone.R

Description

In order to support an interactive querying environment with modifications and not veer away from R's copy-on-modify semantics, we'd need to "branch" out database connections so that any DML and DDL statement does not affect the global state. Cloning database connections are needed to do this.

Usage

1
dbClone(conn)

Arguments

conn

(DBIConnection) object

See Also

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


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