protected function processPostgreAutoupdate(IEntity $entity, array $args) { $args[] = 'RETURNING %ex'; $args[] = $this->getAutoupdateReselectExpression(); $row = $this->connection->queryArgs($args)->fetch(); $data = $this->getStorageReflection()->convertStorageToEntity($row->toArray()); $entity->fireEvent('onRefresh', [$data]); }