insert_batch_chunker: Helper function for INSERT

View source: R/pgTools.R

insert_batch_chunkerR Documentation

Helper function for INSERT

Description

Helper function for INSERT

Usage

insert_batch_chunker(x, n_batches, batch_size)

Arguments

x

A vector of data to insert.

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_batch_chunker(c(1, 2, 3), 1, 100)

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