public function remove(IEntity $parent, array $remove)
{
if (!$remove) {
return;
}
$this->mapperOne->beginTransaction();
$list = $this->buildList($parent, $remove);
$this->connection->query('DELETE FROM %table WHERE %column[] IN %any', $this->joinTable, array_keys(reset($list)), array_map('array_values', $list));
}