powered by
Helper function for INSERT
insert_table_chunker(x, n_batches, batch_size)
A list.
A data table
Integer, the number of batches needed to insert the data.
Integer, the size of each batch.
insert_table_chunker(as.data.table(list(c1 = c(1, 2, 3))), 1, 100)
Run the code above in your browser using DataLab