Learn R Programming

sqlHelpers (version 0.1.2)

insert_batch_chunker: Helper function for INSERT

Description

Helper function for INSERT

Usage

insert_batch_chunker(x, n_batches, batch_size)

Value

A list.

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.

Examples

Run this code
insert_batch_chunker(c(1, 2, 3), 1, 100)

Run the code above in your browser using DataLab