##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (conn, allIndices, genQuery, batchSize = 1e+05)
{
batchByIndex(allIndices, function(indexBatch) {
df = dbGetQuery(conn, genQuery(indexBatch))
result = rbind(result, df)
}, batchSize)
result
}
Run the code above in your browser using DataLab