Question

Inserting rows one by one from a 600 record data-set is taking almost an hour, using the following method:

foreach($people as $person){
    $insert['name'] = $associate -> name;
    $insertedListEntry = $spreadsheetService->insertRow($insert, $spreadsheetKey, $worksheetId);
}

Is it possible to insert multiple rows at once?

Was it helpful?

Solution

No. See the official Google response on this.

They do suggest parallelizing your requests to speed up the insertion process.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top