insert_batch_chunker {pgTools} | R Documentation |
Helper function for INSERT
insert_batch_chunker(x, n_batches, batch_size)
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. |
A list.
insert_batch_chunker(c(1, 2, 3), 1, 100)