if (iRID.getIdentity().isNew())
throw new OIndexException(
"Cannot remove values in manual indexes against remote protocol during a transaction. Temporary RID cannot be managed at server side");
final OCommandRequest cmd = formatCommand(QUERY_REMOVE2, name);
deleted = (Integer) getDatabase().command(cmd).execute(iKey, iRID);
} else {
final OCommandRequest cmd = formatCommand(QUERY_REMOVE, name);
deleted = (Integer) getDatabase().command(cmd).execute(iKey);
}
return deleted > 0;
}