code: public Object execute(final Map<Object, Object> iArgs) {
      if (clazz == null)
        throw new OCommandExecutionException("Cannot execute the command because it has not been parsed yet");
  
      ODatabaseRecord database = getDatabase();
      if (!(database instanceof OGraphDatabase))
        database = new OGraphDatabase((ODatabaseRecordTx) database);
  
      final ORecordId fromId = new ORecordId(from);
      final ORecordId toId = new ORecordId(to);
  
      final ODocument edge = ((OGraphDatabase) database).createEdge(fromId, toId, clazz.getName());
  
      OSQLHelper.bindParameters(edge, fields, new OCommandParameters(iArgs));
  
      edge.save(clusterName);
  
      return edge;
    }
docs: Execute the command and return the ODocument object created.