public function delete() { $this->db->delete(self::TABLE_NAME_RELATIONS, $this->db->quoteInto("keyId = ? AND ", $this->model->getKeyId()) . $this->db->quoteInto("groupId = ? ", $this->model->getGroupId())); }