code: public static Node create(DbConn cnx, String nodeName, Integer port, String dlRepo, String repo, String tmpDir, String dns,
              String logLevel)
      {
          QueryResult r = cnx.runUpdate("node_insert", dlRepo, dns, true, 0, 0, false, false, true, nodeName, port, repo, logLevel, false,
                  tmpDir);
          Node res = new Node();
          res.id = r.getGeneratedId();
          res.name = nodeName;
          res.dns = dns;
          res.port = port;
          res.dlRepo = dlRepo;
          res.tmpDirectory = tmpDir;
          res.repo = repo;
          res.loadApiAdmin = false;
          res.loadApiClient = false;
          res.loapApiSimple = false;
          res.enabled = true;
          res.stop = false;
  
          return res;
      }
docs: Create a new entry in the database. No commit performed.