insert_table_chunker: Helper function for INSERT

View source: R/pgTools.R

insert_table_chunkerR Documentation

Helper function for INSERT

Description

Helper function for INSERT

Usage

insert_table_chunker(x, n_batches, batch_size)

Arguments

x

A data table

n_batches

Integer, the number of batches needed to insert the data.

batch_size

Integer, the size of each batch.

Value

A list.

Examples

insert_table_chunker(as.data.table(list(c1 = c(1, 2, 3))), 1, 100)

pgTools documentation built on March 31, 2023, 7:56 p.m.