Package dovetaildb.apiservice

Examples of dovetaildb.apiservice.ApiService.update()


        entry.put("id", req.id);
      }
      api.insert(req.bagName, entry);
    } else if (req.action == "update") {
      Map<String,Object> entry = (Map<String,Object>)Util.jsonDecode(req.request.getParameter("entry"));
      api.update(req.bagName, req.id, entry);
    } else if (req.action == "remove") {
      api.remove(req.bagName, req.id);
    }
    return returnVal;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.