save_tbl: Copy a table from one connection to a CSV file by chuncks

Description Usage Arguments

View source: R/utils.R

Description

Copy a table from one connection to a CSV file by chuncks

Usage

1
save_tbl(schema, tbl_name, from_conn, to_file, n = 1000000L)

Arguments

schema

The schema

tbl_name

The table to save

from_conn

Origin DBI connection

to_file

Destination file

n

Chunck size. Useful for very large tables.


zambujo/sqlclone documentation built on Nov. 26, 2019, 12:17 a.m.