MCPcopy Index your code
hub / github.com/parse-community/parse-server / makeTimeObject

Function makeTimeObject

spec/ParseQuery.spec.js:2007–2012  ·  view source on GitHub ↗
(start, i)

Source from the content-addressed store, hash-verified

2005
2006 // Returns a promise
2007 function makeTimeObject(start, i) {
2008 const time = new Date();
2009 time.setSeconds(start.getSeconds() + i);
2010 const item = new TestObject({ name: 'item' + i, time: time });
2011 return item.save();
2012 }
2013
2014 // Returns a promise for all the time objects
2015 function makeThreeTimeObjects() {

Callers 1

makeThreeTimeObjectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected