public function beginBatch() { if (!$this->batchQuery) { $this->batchQuery = "BEGIN BATCH\n"; $this->batchQueryData = []; } }