public function add(IEntity $parent, array $add) { if (!$add) { return; } $this->mapperOne->beginTransaction(); $list = $this->buildList($parent, $add); $this->connection->query('INSERT INTO %table %values[]', $this->joinTable, $list); }