- $select = $this->getConnection()
- ->select()
- ->join(
- ['t2' => $subSelect],
- 't1.entity_id = t2.entity_id',
- [
- 'trigger_recollect' => new \Zend_Db_Expr('1'),
- 'updated_at' => 't1.updated_at',
- ]
- );
- $updateQuery = $select->crossUpdateFromSelect(['t1' => $tableQuote]);
- $this->getConnection()->query($updateQuery);