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