/**
* {@inheritdoc}
*
* @throws \Doctrine\DBAL\DBALException
* @throws Exception
*/
public function resetColumn($table,
$column) { $this->
validate($table,
$column);
if (!
$this->tableMapping->
isTableColumn($table,
$column)) { throw new Exception(sprintf('Provided column %s does not exist in table %s',
$column,
$table));
} $sql =
sprintf('UPDATE `%s` SET `%s` = NULL',
$table,
$column);
$this->connection->
executeUpdate($sql);
} /**
* @param string $table
* @param string $name
*
* @throws Exception
*/